From: Linus Torvalds Date: Tue, 28 Jun 2005 02:10:01 +0000 (-0700) Subject: Fix up test that counted subdirectories in ".git/objects" X-Git-Tag: v0.99~152 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/eb7add9f6b220256ef6126399c12f01ca7ca35d6 Fix up test that counted subdirectories in ".git/objects" Now there are 257 of them (256 numeric ones, and the new "pack" directory) --- diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index 4462f57f2a..547488bd25 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -28,11 +28,11 @@ test_expect_success \ '.git/objects should be empty after git-init-db in an empty repo.' \ 'cmp -s /dev/null should-be-empty' -# also it should have 256 subdirectories. 257 is counting "objects" +# also it should have 257 subdirectories. 258 is counting "objects" find .git/objects -type d -print >full-of-directories test_expect_success \ - '.git/objects should have 256 subdirectories.' \ - 'test $(wc -l < full-of-directories) = 257' + '.git/objects should have 257 subdirectories.' \ + 'test $(wc -l < full-of-directories) = 258' ################################################################ # Basics of the basics