Skip to content

Commit 9e10e0b

Browse files
tboegigitster
authored andcommitted
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 5e2c7cd (t5551: do not use unportable sed '\+', 2013-05-12), we started to also verify that the expected tags were actually cloned. Since 68b939b (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 68b939b commit 9e10e0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/t5551-http-fetch.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ test_expect_success EXPENSIVE 'create 50,000 tags in the repo' '
214214
'
215215

216216
test_expect_success EXPENSIVE 'clone the 50,000 tag repo to check OS command line overflow' '
217-
git clone $HTTPD_URL/smart/repo.git too-many-refs 2>err &&
218-
test_line_count = 0 err &&
217+
git clone $HTTPD_URL/smart/repo.git too-many-refs &&
219218
(
220219
cd too-many-refs &&
221220
test $(git for-each-ref refs/tags | wc -l) = 50000

0 commit comments

Comments
 (0)