diff.c: emit_add_line() takes only the rest of the line
[gitweb.git] / t / t5700-clone-reference.sh
index e1ca7303ac83a79eb4668c8f828e068c1220e72d..1c109160690d273451f7a089be42e45f36a3b5bb 100755 (executable)
@@ -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"