update-ref: allow --no-deref with --stdin
[gitweb.git] / t / t6013-rev-list-reverse-parents.sh
index 3178c14d20d79c175f9ac7b49614fb840b0a4d7b..89458d370f5f05d245ba57e430b7b97dd5880639 100755 (executable)
@@ -25,18 +25,18 @@ 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_PATH -e "print reverse <>" > expected &&
+               perl -e "print reverse <>" > expected &&
        git rev-list --reverse --parents --full-history master -- foo \
                > actual &&
-       test_cmp actual expected
+       test_cmp expected actual
        '
 
 test_expect_success '--boundary does too' '
        git rev-list --boundary --parents --full-history master ^root -- foo |
-               $PERL_PATH -e "print reverse <>" > expected &&
+               perl -e "print reverse <>" > expected &&
        git rev-list --boundary --reverse --parents --full-history \
                master ^root -- foo > actual &&
-       test_cmp actual expected
+       test_cmp expected actual
        '
 
 test_done