Browse Source

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>
maint
Johannes Sixt 17 years ago committed by Junio C Hamano
parent
commit
cb418b5a38
  1. 6
      t/t5700-clone-reference.sh

6
t/t5700-clone-reference.sh

@ -52,13 +52,13 @@ diff expected current' @@ -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"


Loading…
Cancel
Save