aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-20 02:05:31 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-20 10:59:28 -0700
commitd57306c7945becfba70d3139af0a3a8f525a6bb5 (patch)
tree8f1badb9e2569a4c349ab9c20cd8ac8dbc2edfd4 /t
parentb909a15edef8c79b2b045bd90d25e19ea58f299c (diff)
downloadgit-d57306c7945becfba70d3139af0a3a8f525a6bb5.tar.gz
git-d57306c7945becfba70d3139af0a3a8f525a6bb5.tar.xz
Create objects/info/ directory in init-db.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rwxr-xr-xt/t0000-basic.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 547488bd2..142b7bf38 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -28,11 +28,12 @@ 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 257 subdirectories. 258 is counting "objects"
+# also it should have 258 subdirectories; 256 fan-out, pack, and info.
+# 259 is counting "objects" itself
find .git/objects -type d -print >full-of-directories
test_expect_success \
- '.git/objects should have 257 subdirectories.' \
- 'test $(wc -l < full-of-directories) = 258'
+ '.git/objects should have 258 subdirectories.' \
+ 'test $(wc -l < full-of-directories) = 259'
################################################################
# Basics of the basics