summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2008-05-27 07:36:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-28 04:29:01 (GMT)
commitcb418b5a3882007616e00bc17b22e8653613ad5f (patch)
treec4db5f4e20f9c27bf44eb5d988cec8fafc53bdf3
parent40672a19042e618019cb4f7ba78ae25e554ce756 (diff)
downloadgit-cb418b5a3882007616e00bc17b22e8653613ad5f.zip
git-cb418b5a3882007616e00bc17b22e8653613ad5f.tar.gz
git-cb418b5a3882007616e00bc17b22e8653613ad5f.tar.bz2
t5700-clone-reference: Quote $U
The new "trash directory" bites again. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t5700-clone-reference.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t5700-clone-reference.sh b/t/t5700-clone-reference.sh
index e1ca730..1c10916 100755
--- a/t/t5700-clone-reference.sh
+++ b/t/t5700-clone-reference.sh
@@ -52,13 +52,13 @@ diff expected current'
cd "$base_dir"
-rm -f $U
+rm -f "$U"
test_expect_success 'cloning with reference (no -l -s)' \
-'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>$U'
+'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>"$U"'
test_expect_success 'fetched no objects' \
-'! grep "^want" $U'
+'! grep "^want" "$U"'
cd "$base_dir"