From: Johannes Sixt Date: Tue, 27 May 2008 07:36:22 +0000 (+0200) Subject: t5700-clone-reference: Quote $U X-Git-Tag: v1.5.6-rc1~39 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cb418b5a3882007616e00bc17b22e8653613ad5f;p=git.git t5700-clone-reference: Quote $U The new "trash directory" bites again. Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/t/t5700-clone-reference.sh b/t/t5700-clone-reference.sh index e1ca7303a..1c1091606 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"