aboutsummaryrefslogtreecommitdiff
path: root/t/t5570-git-daemon.sh
diff options
context:
space:
mode:
authorBrian Gernhardt <brian@gernhardtsoftware.com>2013-10-21 13:54:12 -0400
committerJunio C Hamano <gitster@pobox.com>2013-10-22 11:38:53 -0700
commit360a3261a471ee59760b0743bbb27d3a60849ae2 (patch)
tree718ef771c1cd7cd72fe4ce282e84c8bd1c06559f /t/t5570-git-daemon.sh
parentc4125fccb4c310b440ef6b0d4ed3c8cb651e1afa (diff)
downloadgit-360a3261a471ee59760b0743bbb27d3a60849ae2.tar.gz
git-360a3261a471ee59760b0743bbb27d3a60849ae2.tar.xz
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>
Diffstat (limited to 't/t5570-git-daemon.sh')
-rwxr-xr-xt/t5570-git-daemon.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t5570-git-daemon.sh b/t/t5570-git-daemon.sh
index dc55e51c1..e06146835 100755
--- a/t/t5570-git-daemon.sh
+++ b/t/t5570-git-daemon.sh
@@ -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)