* Don't use `--' in the testsuite, it is no longer understood.
This commit is contained in:
+12
-12
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user