Fix up test that counted subdirectories in ".git/objects"

Now there are 257 of them (256 numeric ones, and the new "pack" directory)
This commit is contained in:
Linus Torvalds 2005-06-27 19:10:01 -07:00
Родитель f49fb35d0d
Коммит eb7add9f6b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -28,11 +28,11 @@ test_expect_success \
'.git/objects should be empty after git-init-db in an empty repo.' \ '.git/objects should be empty after git-init-db in an empty repo.' \
'cmp -s /dev/null should-be-empty' '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 find .git/objects -type d -print >full-of-directories
test_expect_success \ test_expect_success \
'.git/objects should have 256 subdirectories.' \ '.git/objects should have 257 subdirectories.' \
'test $(wc -l < full-of-directories) = 257' 'test $(wc -l < full-of-directories) = 258'
################################################################ ################################################################
# Basics of the basics # Basics of the basics