[PR #9171/152339a8 backport][stable-10] gio_mime: fix bug when looking for version (#9177)

gio_mime: fix bug when looking for version (#9171)

* gio_mime: fix bug when looking for version

* add changelog frag

(cherry picked from commit 152339a8f9)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-11-23 15:18:34 +01:00 committed by GitHub
commit 0ff52abfdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 8 deletions

View file

@ -13,7 +13,7 @@
changed: true
mocks:
run_command:
- command: [/testbin/gio, mime, --version]
- command: [/testbin/gio, --version]
environ: &env-def {environ_update: {LANGUAGE: C, LC_ALL: C}, check_rc: true}
rc: 0
out: "2.80.0\n"
@ -40,7 +40,7 @@
skip: test helper does not support check mode yet
mocks:
run_command:
- command: [/testbin/gio, mime, --version]
- command: [/testbin/gio, --version]
environ: *env-def
rc: 0
out: "2.80.0\n"
@ -65,7 +65,7 @@
changed: false
mocks:
run_command:
- command: [/testbin/gio, mime, --version]
- command: [/testbin/gio, --version]
environ: *env-def
rc: 0
out: "2.80.0\n"