diff options
author | Torsten Bögershausen <tboegi@web.de> | 2014-06-05 23:36:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-09 12:06:12 -0700 |
commit | 9e10e0b9a01cf2f611f1ef2330e27a0822cf3de6 (patch) | |
tree | 95ef84f9a5f2362135d703375253ed0530ece8be /t | |
parent | 68b939b2f097b6675c4aaa178655559aa81b25cb (diff) | |
download | git-9e10e0b9a01cf2f611f1ef2330e27a0822cf3de6.tar.gz git-9e10e0b9a01cf2f611f1ef2330e27a0822cf3de6.tar.xz |
t5551: fix the 50,000 tag test
The first version of test 23 did simply check that no output was
sent to the standard error stream. With 5e2c7cd2 (t5551: do not use
unportable sed '\+', 2013-05-12), we started to also verify that the
expected tags were actually cloned.
Since 68b939b2 (clone: send diagnostic messages to stderr,
2013-09-18), "git clone" shows "Cloning into 'too-many-refs'" to the
standard error stream (it used to do so to the standard output),
causing the test to fail.
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t5551-http-fetch.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh index 55a866af8..ea95aa389 100755 --- a/t/t5551-http-fetch.sh +++ b/t/t5551-http-fetch.sh @@ -214,8 +214,7 @@ test_expect_success EXPENSIVE 'create 50,000 tags in the repo' ' ' test_expect_success EXPENSIVE 'clone the 50,000 tag repo to check OS command line overflow' ' - git clone $HTTPD_URL/smart/repo.git too-many-refs 2>err && - test_line_count = 0 err && + git clone $HTTPD_URL/smart/repo.git too-many-refs && ( cd too-many-refs && test $(git for-each-ref refs/tags | wc -l) = 50000 |