mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
gio_mime: add return value version (#9067)
* add return value version * add changelog frag
This commit is contained in:
parent
c71f662d55
commit
e63c2f54cf
4 changed files with 29 additions and 1 deletions
|
@ -13,9 +13,14 @@
|
|||
changed: true
|
||||
mocks:
|
||||
run_command:
|
||||
- command: [/testbin/gio, mime, x-scheme-handler/http]
|
||||
- command: [/testbin/gio, mime, --version]
|
||||
environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true}
|
||||
rc: 0
|
||||
out: "2.80.0\n"
|
||||
err: ""
|
||||
- command: [/testbin/gio, mime, x-scheme-handler/http]
|
||||
environ: *env-def
|
||||
rc: 0
|
||||
out: ""
|
||||
err: >
|
||||
No default applications for “x-scheme-handler/http”
|
||||
|
@ -35,6 +40,11 @@
|
|||
skip: test helper does not support check mode yet
|
||||
mocks:
|
||||
run_command:
|
||||
- command: [/testbin/gio, mime, --version]
|
||||
environ: *env-def
|
||||
rc: 0
|
||||
out: "2.80.0\n"
|
||||
err: ""
|
||||
- command: [/testbin/gio, mime, x-scheme-handler/http]
|
||||
environ: *env-def
|
||||
rc: 0
|
||||
|
@ -55,6 +65,11 @@
|
|||
changed: false
|
||||
mocks:
|
||||
run_command:
|
||||
- command: [/testbin/gio, mime, --version]
|
||||
environ: *env-def
|
||||
rc: 0
|
||||
out: "2.80.0\n"
|
||||
err: ""
|
||||
- command: [/testbin/gio, mime, x-scheme-handler/http]
|
||||
environ: *env-def
|
||||
rc: 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue