mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
gconftool2/gconftool2_info: add return value version (#9064)
* add return value version * add changelog frag
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user