mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08: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"
|
||||
|
||||
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…
Reference in New Issue
Block a user