test doc: test_write_lines does not split its arguments
[gitweb.git] / t / t9350-fast-export.sh
index 34c2d8f49ab6fd02a19e4b9f95e31838c8de3ece..2312dec8f096fe7e36feeabd0e1cd85b5e421d4a 100755 (executable)
@@ -429,7 +429,7 @@ test_expect_success 'fast-export quotes pathnames' '
                --cacheinfo 100644 $blob "path with \\backslash" \
                --cacheinfo 100644 $blob "path with space" &&
         git commit -m addition &&
-        git ls-files -z -s | "$PERL_PATH" -0pe "s{\\t}{$&subdir/}" >index &&
+        git ls-files -z -s | perl -0pe "s{\\t}{$&subdir/}" >index &&
         git read-tree --empty &&
         git update-index -z --index-info <index &&
         git commit -m rename &&