From: Thomas Rast Date: Sun, 31 Aug 2008 22:31:37 +0000 (+0200) Subject: t6013: replace use of 'tac' with equivalent Perl X-Git-Tag: v1.6.1-rc1~232^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d13dec5499ec31a93dd22db9b0c971133a10613;p=git.git t6013: replace use of 'tac' with equivalent Perl 'tac' is not available everywhere, so substitute the equivalent Perl code 'print reverse <>'. Noticed by Brian Gernhardt. Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- diff --git a/t/t6013-rev-list-reverse-parents.sh b/t/t6013-rev-list-reverse-parents.sh index d29446642..59fc2f06e 100755 --- a/t/t6013-rev-list-reverse-parents.sh +++ b/t/t6013-rev-list-reverse-parents.sh @@ -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 | - tac > expected && + perl -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 | - tac > expected && + perl -e "print reverse <>" > expected && git rev-list --boundary --reverse --parents --full-history \ master ^root -- foo > actual && test_cmp actual expected