mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
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>
This commit is contained in:
parent
40672a1904
commit
cb418b5a38
|
@ -52,13 +52,13 @@ diff expected current'
|
||||||
|
|
||||||
cd "$base_dir"
|
cd "$base_dir"
|
||||||
|
|
||||||
rm -f $U
|
rm -f "$U"
|
||||||
|
|
||||||
test_expect_success 'cloning with reference (no -l -s)' \
|
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' \
|
test_expect_success 'fetched no objects' \
|
||||||
'! grep "^want" $U'
|
'! grep "^want" "$U"'
|
||||||
|
|
||||||
cd "$base_dir"
|
cd "$base_dir"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue