Fix another test that broke with the recent git-init-db update
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 02:48:02 +0000 (19:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 02:48:02 +0000 (19:48 -0700)
t5300-pack-object.sh test 8 expected to have to create the "pack"
directory itself, and was unhappy when it already existed.

t/t5300-pack-object.sh

index 901653656a3d73fb8f0a6d736e3dd712792e8b22..7a39f7e04ac57b27b16547d488211a39fd1ab62d 100755 (executable)
@@ -99,7 +99,6 @@ test_expect_success \
     'GIT_OBJECT_DIRECTORY=.git2/objects &&
      export GIT_OBJECT_DIRECTORY &&
      git-init-db &&
-     mkdir .git2/objects/pack &&
      cp test-1.pack test-1.idx .git2/objects/pack && {
         git-diff-tree --root -p $commit &&
         while read object