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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 64 additions and 2 deletions

View file

@ -13,11 +13,17 @@
output:
new_value: '200'
changed: true
version: "3.2.6"
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: ""
- command: [/testbin/gconftool-2, --type, int, --set, /desktop/gnome/background/picture_filename, "200"]
@ -39,8 +45,14 @@
output:
new_value: '200'
changed: false
version: "3.2.5"
mocks:
run_command:
- command: [/testbin/gconftool-2, --version]
environ: *env-def
rc: 0
out: "3.2.5\n"
err: ""
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: *env-def
rc: 0
@ -65,8 +77,14 @@
output:
new_value: 'false'
changed: false
version: "3.2.4"
mocks:
run_command:
- command: [/testbin/gconftool-2, --version]
environ: *env-def
rc: 0
out: "3.2.4\n"
err: ""
- command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver]
environ: *env-def
rc: 0
@ -91,6 +109,11 @@
changed: true
mocks:
run_command:
- command: [/testbin/gconftool-2, --version]
environ: *env-def
rc: 0
out: "3.2.4\n"
err: ""
- command: [/testbin/gconftool-2, --get, /desktop/gnome/background/picture_filename]
environ: *env-def
rc: 0
@ -110,6 +133,11 @@
changed: false
mocks:
run_command:
- command: [/testbin/gconftool-2, --version]
environ: *env-def
rc: 0
out: "3.2.4\n"
err: ""
- command: [/testbin/gconftool-2, --get, /apps/gnome_settings_daemon/screensaver/start_screensaver]
environ: *env-def
rc: 0