builtin/commit.c: extract ignore_non_trailer() helper function
[gitweb.git] / t / t5570-git-daemon.sh
index dc55e51c18e5fac1e9347dc64447d4cdf1ddd347..e06146835cdda5b7264a34a24405aedd9f950006 100755 (executable)
@@ -122,8 +122,7 @@ test_remote_error()
        fi
 
        test_must_fail git "$cmd" "$GIT_DAEMON_URL/$repo" "$@" 2>output &&
-       echo "fatal: remote error: $msg: /$repo" >expect &&
-       test_cmp expect output
+       test_i18ngrep "fatal: remote error: $msg: /$repo" output &&
        ret=$?
        chmod +x "$GIT_DAEMON_DOCUMENT_ROOT_PATH/repo.git"
        (exit $ret)