t5570: Update for clone-progress-to-stderr branch

git clone now reports its progress to standard error, which throws off t5570. Using test_i18ngrep instead of test_cmp allows the test to be more flexible by only looking for the expected error and ignoring any other output from the program. Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brian Gernhardt committed Oct 21, 2013 at 13:54 UTC d619cfc7490481652833dff820e04263869c8861
1 file changed +1 -2
t/t5570-git-daemon.sh
+1 -2
@@ -122,8 +122,7 @@ test_remote_error()
122 fi
123
124 test_must_fail git "$cmd" "$GIT_DAEMON_URL/$repo" "$@" 2>output &&
125 - echo "fatal: remote error: $msg: /$repo" >expect &&
126 - test_cmp expect output
125 + test_i18ngrep "fatal: remote error: $msg: /$repo" output &&
126 ret=$?
127 chmod +x "$GIT_DAEMON_DOCUMENT_ROOT_PATH/repo.git"
128 (exit $ret)