git-remote-mediawiki: allow page names with a ':'
[gitweb.git] / t / t4020-diff-external.sh
index a7602cf923d95a51643753ce44fa65cf406aba9c..533afc1185114e8ea7e7e5e9315ceaf7816e32c2 100755 (executable)
@@ -4,8 +4,6 @@ test_description='external diff interface test'
 
 . ./test-lib.sh
 
-_z40=0000000000000000000000000000000000000000
-
 test_expect_success setup '
 
        test_tick &&
@@ -120,7 +118,7 @@ test_expect_success 'no diff with -diff' '
        git diff | grep Binary
 '
 
-echo NULZbetweenZwords | perl -pe 'y/Z/\000/' > file
+echo NULZbetweenZwords | "$PERL_PATH" -pe 'y/Z/\000/' > file
 
 test_expect_success 'force diff with "diff"' '
        echo >.gitattributes "file diff" &&