···11+diff --git a/tests/basic-test.sh b/tests/basic-test.sh
22+index c8f853f8..a58ad3de 100644
33+--- a/tests/basic-test.sh
44++++ b/tests/basic-test.sh
55+@@ -242,7 +242,7 @@ cd ${test_tmpdir}
66+ if $OSTREE commit ${COMMIT_ARGS} -b test-bootable --bootable $test_tmpdir/checkout-test2-4 2>err.txt; then
77+ fatal "committed non-bootable tree"
88+ fi
99+-assert_file_has_content err.txt "error: .*No such file or directory"
1010++assert_file_has_content err.txt "error:.*No such file or directory"
1111+ echo "ok commit fails bootable if no kernel"
1212+1313+ cd ${test_tmpdir}
1414+diff --git a/tests/pull-test.sh b/tests/pull-test.sh
1515+index d61735a0..9e751d82 100644
1616+--- a/tests/pull-test.sh
1717++++ b/tests/pull-test.sh
1818+@@ -297,7 +297,7 @@ ostree_repo_init mirrorrepo-local --mode=archive
1919+ if ${CMD_PREFIX} ostree --repo=mirrorrepo-local pull-local otherrepo 2>err.txt; then
2020+ fatal "pull with mixed refs succeeded?"
2121+ fi
2222+-assert_file_has_content err.txt "error: Invalid ref name origin:main"
2323++assert_file_has_content err.txt "Invalid ref name origin:main"
2424+ ${CMD_PREFIX} ostree --repo=mirrorrepo-local pull-local otherrepo localbranch
2525+ ${CMD_PREFIX} ostree --repo=mirrorrepo-local rev-parse localbranch
2626+ ${CMD_PREFIX} ostree --repo=mirrorrepo-local fsck
2727+@@ -308,7 +308,7 @@ if ${CMD_PREFIX} ostree --repo=mirrorrepo-local pull-local otherrepo nosuchbranc
2828+ fatal "pulled nonexistent branch"
2929+ fi
3030+ # So true
3131+-assert_file_has_content_literal err.txt "error: Refspec 'nosuchbranch' not found"
3232++assert_file_has_content_literal err.txt "Refspec 'nosuchbranch' not found"
3333+ echo "ok pull-local nonexistent branch"
3434+3535+ cd ${test_tmpdir}
3636+@@ -687,5 +687,5 @@ rm ostree-srv/gnomerepo/summary
3737+ if ${CMD_PREFIX} ostree --repo=repo pull origin main 2>err.txt; then
3838+ fatal "pull of invalid ref succeeded"
3939+ fi
4040+-assert_file_has_content_literal err.txt 'error: Fetching checksum for ref ((empty), main): Invalid rev lots of html here lots of html here lots of html here lots of'
4141++assert_file_has_content_literal err.txt 'Fetching checksum for ref ((empty), main): Invalid rev lots of html here lots of html here lots of html here lots of'
4242+ echo "ok pull got HTML for a ref"
4343+diff --git a/tests/test-config.sh b/tests/test-config.sh
4444+index 2d9aaf53..f1e28614 100755
4545+--- a/tests/test-config.sh
4646++++ b/tests/test-config.sh
4747+@@ -44,7 +44,7 @@ assert_file_has_content list.txt "http://example\.com/ostree/repo/"
4848+ if ${CMD_PREFIX} ostree config --repo=repo get --group=core lock-timeout-secs extra 2>err.txt; then
4949+ assert_not_reached "ostree config get should error out if too many arguments are given"
5050+ fi
5151+-assert_file_has_content err.txt "error: Too many arguments given"
5252++assert_file_has_content err.txt "Too many arguments given"
5353+ echo "ok config get"
5454+5555+ ${CMD_PREFIX} ostree config --repo=repo set core.mode bare-user-only
5656+@@ -61,7 +61,7 @@ assert_file_has_content repo/config "http://example\.com/ostree/"
5757+ if ${CMD_PREFIX} ostree config --repo=repo set --group=core lock-timeout-secs 120 extra 2>err.txt; then
5858+ assert_not_reached "ostree config set should error out if too many arguments are given"
5959+ fi
6060+-assert_file_has_content err.txt "error: Too many arguments given"
6161++assert_file_has_content err.txt "Too many arguments given"
6262+ echo "ok config set"
6363+6464+ # Check that using `--` works and that "ostree config unset" works
6565+@@ -78,7 +78,7 @@ if ${CMD_PREFIX} ostree config --repo=repo get core.lock-timeout-secs 2>err.txt;
6666+ fi
6767+ # Check for any character where quotation marks would be as they appear differently in the Fedora and Debian
6868+ # test suites (“” and '' respectively). See: https://github.com/ostreedev/ostree/pull/1839
6969+-assert_file_has_content err.txt "error: Key file does not have key .lock-timeout-secs. in group .core."
7070++assert_file_has_content err.txt "Key file does not have key .lock-timeout-secs. in group .core."
7171+7272+ # Check that it's idempotent
7373+ ${CMD_PREFIX} ostree config --repo=repo unset core.lock-timeout-secs
7474+@@ -95,5 +95,5 @@ ${CMD_PREFIX} ostree config --repo=repo unset --group='remote "aoeuhtns"' 'xa.ti
7575+ if ${CMD_PREFIX} ostree config --repo=repo unset core.lock-timeout-secs extra 2>err.txt; then
7676+ assert_not_reached "ostree config unset should error out if too many arguments are given"
7777+ fi
7878+-assert_file_has_content err.txt "error: Too many arguments given"
7979++assert_file_has_content err.txt "Too many arguments given"
8080+ echo "ok config unset"
8181+diff --git a/tests/test-fsck-collections.sh b/tests/test-fsck-collections.sh
8282+index 3dbcdd23..d6359979 100755
8383+--- a/tests/test-fsck-collections.sh
8484++++ b/tests/test-fsck-collections.sh
8585+@@ -98,7 +98,7 @@ ${CMD_PREFIX} ostree fsck --repo=repo
8686+ if ${CMD_PREFIX} ostree fsck --repo=repo --verify-bindings > fsck 2> fsck-error; then
8787+ assert_not_reached "fsck unexpectedly succeeded after adding unbound ref!"
8888+ fi
8989+-assert_file_has_content fsck-error "Commit has no requested ref ‘new-ref’ in ref binding metadata (‘ref1’)"
9090++assert_file_has_content fsck-error "Commit has no requested ref .new-ref. in ref binding metadata (.ref1.)"
9191+ assert_file_has_content fsck "^Validating refs\.\.\.$"
9292+9393+ echo "ok 3 fsck detects missing ref bindings"
9494+@@ -111,7 +111,7 @@ ${CMD_PREFIX} ostree --repo=repo refs --collections --create=org.example.Collect
9595+ if ${CMD_PREFIX} ostree fsck --repo=repo --verify-bindings > fsck 2> fsck-error; then
9696+ assert_not_reached "fsck unexpectedly succeeded after adding unbound ref!"
9797+ fi
9898+-assert_file_has_content fsck-error "Commit has no requested ref ‘new-ref’ in ref binding metadata (‘ref1’)"
9999++assert_file_has_content fsck-error "Commit has no requested ref .new-ref. in ref binding metadata (.ref1.)"
100100+ assert_file_has_content fsck "^Validating refs\.\.\.$"
101101+ assert_file_has_content fsck "^Validating refs in collections\.\.\.$"
102102+103103+@@ -125,7 +125,7 @@ ${CMD_PREFIX} ostree --repo=repo refs --collections --create=org.example.Collect
104104+ if ${CMD_PREFIX} ostree fsck --repo=repo --verify-bindings > fsck 2> fsck-error; then
105105+ assert_not_reached "fsck unexpectedly succeeded after adding unbound ref!"
106106+ fi
107107+-assert_file_has_content fsck-error "Commit has collection ID ‘org\.example\.Collection’ in collection binding metadata, while the remote it came from has collection ID ‘org\.example\.Collection2’"
108108++assert_file_has_content fsck-error "Commit has collection ID .org\.example\.Collection. in collection binding metadata, while the remote it came from has collection ID .org\.example\.Collection2."
109109+ assert_file_has_content fsck "^Validating refs\.\.\.$"
110110+ assert_file_has_content fsck "^Validating refs in collections\.\.\.$"
111111+112112+@@ -145,7 +145,7 @@ echo "ok 6 fsck ignores unreferenced ref bindings"
113113+ if ${CMD_PREFIX} ostree fsck --repo=repo --verify-back-refs > fsck 2> fsck-error; then
114114+ assert_not_reached "fsck unexpectedly succeeded after adding unbound ref!"
115115+ fi
116116+-assert_file_has_content fsck-error "Collection–ref (org\.example\.Collection, ref1) in bindings for commit .* does not exist"
117117++assert_file_has_content fsck-error 'Collection.ref (org\.example\.Collection, ref1) in bindings for commit .* does not exist'
118118+ assert_file_has_content fsck "^Validating refs\.\.\.$"
119119+ assert_file_has_content fsck "^Validating refs in collections\.\.\.$"
120120+121121+@@ -184,7 +184,7 @@ ${CMD_PREFIX} ostree --repo=repo refs --create=new-ref $(cat ref3-checksum)
122122+ if ${CMD_PREFIX} ostree fsck --repo=repo --verify-bindings > fsck 2> fsck-error; then
123123+ assert_not_reached "fsck unexpectedly succeeded after adding unbound ref!"
124124+ fi
125125+-assert_file_has_content fsck-error "Commit has no requested ref ‘new-ref’ in ref binding metadata (‘ref3’, ‘ref4’)"
126126++assert_file_has_content fsck-error "Commit has no requested ref .new-ref. in ref binding metadata (.ref3., .ref4.)"
127127+ assert_file_has_content fsck "^Validating refs\.\.\.$"
128128+129129+ echo "ok 9 fsck detects missing ref bindings"
130130+@@ -203,7 +203,7 @@ echo "ok 10 fsck ignores unreferenced ref bindings"
131131+ if ${CMD_PREFIX} ostree fsck --repo=repo --verify-back-refs > fsck 2> fsck-error; then
132132+ assert_not_reached "fsck unexpectedly succeeded after adding unbound ref!"
133133+ fi
134134+-assert_file_has_content fsck-error "Ref ‘ref3’ in bindings for commit .* does not exist"
135135++assert_file_has_content fsck-error 'Ref .ref3. in bindings for commit .* does not exist'
136136+ assert_file_has_content fsck "^Validating refs\.\.\.$"
137137+138138+ echo "ok 11 fsck ignores unreferenced ref bindings"
139139+diff --git a/tests/test-remote-add.sh b/tests/test-remote-add.sh
140140+index 2f5ea634..0f63853c 100755
141141+--- a/tests/test-remote-add.sh
142142++++ b/tests/test-remote-add.sh
143143+@@ -81,7 +81,7 @@ echo "ok remote delete"
144144+ if $OSTREE remote delete nosuchremote 2>err.txt; then
145145+ assert_not_reached "Deleting remote unexpectedly succeeded"
146146+ fi
147147+-assert_file_has_content err.txt "error: "
148148++assert_file_has_content err.txt "not found"
149149+150150+ $OSTREE remote delete --if-exists nosuchremote
151151+ echo "ok"