]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0008-ignores.sh
tests: use test_i18n* functions to suppress false positives
[thirdparty/git.git] / t / t0008-ignores.sh
index 89544dd8332793af7c792a45e6566f207ef57e38..43aa2bd8f8682eae6c984505e12852ec5856ea59 100755 (executable)
@@ -34,7 +34,7 @@ expect_from_stdin () {
 test_stderr () {
        expected="$1"
        expect_in stderr "$1" &&
-       test_cmp "$HOME/expected-stderr" "$HOME/stderr"
+       test_i18ncmp "$HOME/expected-stderr" "$HOME/stderr"
 }
 
 broken_c_unquote () {
@@ -47,7 +47,7 @@ broken_c_unquote_verbose () {
 
 stderr_contains () {
        regexp="$1"
-       if grep "$regexp" "$HOME/stderr"
+       if test_i18ngrep "$regexp" "$HOME/stderr"
        then
                return 0
        else