opkg: add return value version (#9086)

* opkg: add return value version

* add changelog frag
This commit is contained in:
Alexei Znamensky 2024-11-03 05:49:54 +13:00 committed by GitHub
parent 8a2ac4f1eb
commit c8410a924e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 47 additions and 7 deletions

View file

@ -12,11 +12,16 @@
msg: installed 1 package(s)
mocks:
run_command:
- command: [/testbin/opkg, list-installed, zlib-dev]
- command: [/testbin/opkg, --version]
environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: false}
rc: 0
out: ""
err: ""
- command: [/testbin/opkg, list-installed, zlib-dev]
environ: *env-def
rc: 0
out: ""
err: ""
- command: [/testbin/opkg, install, zlib-dev]
environ: *env-def
rc: 0
@ -42,6 +47,11 @@
msg: package(s) already present
mocks:
run_command:
- command: [/testbin/opkg, --version]
environ: *env-def
rc: 0
out: ""
err: ""
- command: [/testbin/opkg, list-installed, zlib-dev]
environ: *env-def
rc: 0
@ -57,6 +67,11 @@
msg: installed 1 package(s)
mocks:
run_command:
- command: [/testbin/opkg, --version]
environ: *env-def
rc: 0
out: ""
err: ""
- command: [/testbin/opkg, list-installed, zlib-dev]
environ: *env-def
rc: 0
@ -85,6 +100,11 @@
msg: installed 1 package(s)
mocks:
run_command:
- command: [/testbin/opkg, --version]
environ: *env-def
rc: 0
out: ""
err: ""
- command: [/testbin/opkg, list-installed, zlib-dev]
environ: *env-def
rc: 0
@ -115,6 +135,11 @@
msg: installed 1 package(s)
mocks:
run_command:
- command: [/testbin/opkg, --version]
environ: *env-def
rc: 0
out: ""
err: ""
- command: [/testbin/opkg, update]
environ: *env-def
rc: 0