mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
gconftool2/gconftool2_info: add return value version (#9064)
* add return value version * add changelog frag
This commit is contained in:
parent
107df41d9c
commit
ce1b9887b1
6 changed files with 64 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue