* Don't use `--' in the testsuite, it is no longer understood.

This commit is contained in:
Sam Hocevar
2008-05-18 12:38:37 +00:00
committed by sam
parent c45ecef2a9
commit 500fcb0bf1
+12 -12
View File
@@ -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