Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix up test that counted subdirectories in ".git/objects"
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 02:10:01 +0000
(19:10 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 02:10:01 +0000
(19:10 -0700)
Now there are 257 of them (256 numeric ones, and the new "pack" directory)
t/t0000-basic.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
f49fb35
)
diff --git
a/t/t0000-basic.sh
b/t/t0000-basic.sh
index 4462f57f2a9d083873dd0b57d6f48990c755b67b..547488bd25a060ba0701f838ffb936a8e9fd91b3 100755
(executable)
--- 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'
'.git/objects should be empty after git-init-db in an empty repo.' \
'cmp -s /dev/null should-be-empty'
-# also it should have 25
6 subdirectories. 257
is counting "objects"
+# also it should have 25
7 subdirectories. 258
is counting "objects"
find .git/objects -type d -print >full-of-directories
test_expect_success \
find .git/objects -type d -print >full-of-directories
test_expect_success \
- '.git/objects should have 25
6
subdirectories.' \
- 'test $(wc -l < full-of-directories) = 25
7
'
+ '.git/objects should have 25
7
subdirectories.' \
+ 'test $(wc -l < full-of-directories) = 25
8
'
################################################################
# Basics of the basics
################################################################
# Basics of the basics