@matheusbsbs / matheus-bagliano / commits / f07a524195
Fork 0

fix testsuite to tolerate spaces in path

This patch allows the testsuite to run properly when the full path to the git sources contains spaces or other symbols that need to be quoted. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Pavel Roskin committed Oct 27, 2005 at 23:00 UTC f07a524195a73537d4187460ccbd072bcb1ff486
1 file changed +4 -4
t/t5300-pack-object.sh
+4 -4
@@ -49,7 +49,7 @@ test_expect_success \
49 git-unpack-objects <test-1-${packname_1}.pack"
50
51 unset GIT_OBJECT_DIRECTORY
52 -cd $TRASH/.git2
52 +cd "$TRASH/.git2"
53
54 test_expect_success \
55 'check unpack without delta' \
@@ -61,7 +61,7 @@ test_expect_success \
61 return 1
62 }
63 done'
64 -cd $TRASH
64 +cd "$TRASH"
65
66 test_expect_success \
67 'pack with delta' \
@@ -80,7 +80,7 @@ test_expect_success \
80 git-unpack-objects <test-2-${packname_2}.pack'
81
82 unset GIT_OBJECT_DIRECTORY
83 -cd $TRASH/.git2
83 +cd "$TRASH/.git2"
84 test_expect_success \
85 'check unpack with delta' \
86 '(cd ../.git && find objects -type f -print) |
@@ -91,7 +91,7 @@ test_expect_success \
91 return 1
92 }
93 done'
94 -cd $TRASH
94 +cd "$TRASH"
95
96 rm -fr .git2
97 mkdir .git2