Merge branch 'tb/t5551-clone-notice-to-stderr'

* tb/t5551-clone-notice-to-stderr:
  t5551: fix the 50,000 tag test
maint
Junio C Hamano 2014-06-20 13:12:17 -07:00
commit 7402a1c160
1 changed files with 1 additions and 2 deletions

View File

@ -240,8 +240,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' ' 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 && git clone $HTTPD_URL/smart/repo.git too-many-refs &&
test_line_count = 0 err &&
( (
cd too-many-refs && cd too-many-refs &&
test $(git for-each-ref refs/tags | wc -l) = 50000 test $(git for-each-ref refs/tags | wc -l) = 50000