From 500fcb0bf17c48ca6975f909521b2b2d01e1423a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 18 May 2008 12:38:37 +0000 Subject: [PATCH] * Don't use `--' in the testsuite, it is no longer understood. --- test/testsuite.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/testsuite.sh b/test/testsuite.sh index edd870d..37fe1fd 100755 --- a/test/testsuite.sh +++ b/test/testsuite.sh @@ -72,18 +72,18 @@ checkutils() # We don't include grep or sed when the input is not text, because # they put a newline at the end of their input if it was not there # initially. (Linux sed doesn't, but OS X sed does.) - check "$ZZOPTS" "head -- -n 9999 $file" "head -n 9999" - check "$ZZOPTS" "tail -- -n 9999 $file" "tail -n 9999" - check "$ZZOPTS" "tail -- -n +1 $file" "tail -n +1" - check "$ZZOPTS" "grep -- -a '' $file" "grep -a ''" - check "$ZZOPTS" "sed -- -e n $file" "sed -e n" - #check "$ZZOPTS" "cut -- -b1- $file" "cut -b1-" - check "$ZZOPTS" "-i head -- -n 9999 < $file" "|head -n 9999" - check "$ZZOPTS" "-i tail -- -n 9999 < $file" "|tail -n 9999" - check "$ZZOPTS" "-i tail -- -n +1 < $file" "|tail -n +1" - check "$ZZOPTS" "-i grep -- -a '' < $file" "|grep -a ''" - check "$ZZOPTS" "-i sed -- -e n < $file" "|sed -e n" - #check "$ZZOPTS" "-i cut -- -b1- < $file" "|cut -b1-" + check "$ZZOPTS" "head -n 9999 $file" "head -n 9999" + check "$ZZOPTS" "tail -n 9999 $file" "tail -n 9999" + check "$ZZOPTS" "tail -n +1 $file" "tail -n +1" + check "$ZZOPTS" "grep -a '' $file" "grep -a ''" + check "$ZZOPTS" "sed -e n $file" "sed -e n" + #check "$ZZOPTS" "cut -b1- $file" "cut -b1-" + check "$ZZOPTS" "-i head -n 9999 < $file" "|head -n 9999" + check "$ZZOPTS" "-i tail -n 9999 < $file" "|tail -n 9999" + check "$ZZOPTS" "-i tail -n +1 < $file" "|tail -n +1" + check "$ZZOPTS" "-i grep -a '' < $file" "|grep -a ''" + check "$ZZOPTS" "-i sed -e n < $file" "|sed -e n" + #check "$ZZOPTS" "-i cut -b1- < $file" "|cut -b1-" ;; esac done