gio_mime: add return value version (#9067)

* add return value version

* add changelog frag
This commit is contained in:
Alexei Znamensky
2024-10-30 08:27:43 +13:00
committed by GitHub
parent c71f662d55
commit e63c2f54cf
4 changed files with 29 additions and 1 deletions

View File

@@ -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