t: Replace 'perl' by $PERL_PATH
[gitweb.git] / t / t6013-rev-list-reverse-parents.sh
index 59fc2f06e0b5895af60b6eb4084fe7a38d3aa948..3178c14d20d79c175f9ac7b49614fb840b0a4d7b 100755 (executable)
@@ -25,7 +25,7 @@ test_expect_success 'set up --reverse example' '
 
 test_expect_success '--reverse --parents --full-history combines correctly' '
        git rev-list --parents --full-history master -- foo |
-               perl -e "print reverse <>" > expected &&
+               $PERL_PATH -e "print reverse <>" > expected &&
        git rev-list --reverse --parents --full-history master -- foo \
                > actual &&
        test_cmp actual expected
@@ -33,7 +33,7 @@ test_expect_success '--reverse --parents --full-history combines correctly' '
 
 test_expect_success '--boundary does too' '
        git rev-list --boundary --parents --full-history master ^root -- foo |
-               perl -e "print reverse <>" > expected &&
+               $PERL_PATH -e "print reverse <>" > expected &&
        git rev-list --boundary --reverse --parents --full-history \
                master ^root -- foo > actual &&
        test_cmp actual expected