gconftool2/gconftool2_info: add return value version (#9064)

* add return value version

* add changelog frag
This commit is contained in:
Alexei Znamensky
2024-10-27 21:36:52 +13:00
committed by GitHub
parent 107df41d9c
commit ce1b9887b1
6 changed files with 64 additions and 2 deletions

View File

@@ -11,9 +11,14 @@
value: '100'
mocks:
run_command:
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
- command: [/testbin/gconftool-2, --version]
environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true}
rc: 0
out: "3.2.6\n"
err: ""
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: *env-def
rc: 0
out: "100\n"
err: ""
- id: test_simple_element_get_not_found
@@ -23,6 +28,11 @@
value:
mocks:
run_command:
- command: [/testbin/gconftool-2, --version]
environ: *env-def
rc: 0
out: "3.2.6\n"
err: ""
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: *env-def
rc: 0