@matheusbsbs / matheus-bagliano / commits / 82868f72b5
Fork 0

[PATCH] fix t5300-pack-object.sh

The 'use packed deltified objects' test was flawed as it failed to remove the pack and index from the previous test, effectively preventing the desired pack from being exercised as objects could be found in that other pack instead. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Nicolas Pitre committed Mar 16, 2007 at 13:37 UTC 82868f72b5393d3dbe3ef976dba8d5aa63ffddc3
1 file changed +1 -1
t/t5300-pack-object.sh
+1 -1
@@ -116,7 +116,7 @@ test_expect_success \
116 'use packed deltified objects' \
117 'GIT_OBJECT_DIRECTORY=.git2/objects &&
118 export GIT_OBJECT_DIRECTORY &&
119 - rm -f .git2/objects/pack/test-?.idx &&
119 + rm .git2/objects/pack/test-* &&
120 cp test-2-${packname_2}.pack test-2-${packname_2}.idx .git2/objects/pack && {
121 git-diff-tree --root -p $commit &&
122 while read object