Changeset 1580 for zzuf/trunk/test
- Timestamp:
- Jan 6, 2007, 4:54:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/test/testsuite.sh
r1565 r1580 19 19 CMD="$2" 20 20 ALIAS="$3" 21 echo -n " $(echo "$ALIAS : " | cut -b1-15)"21 echo -n " $(echo "$ALIAS .............." | cut -b1-15) " 22 22 NEWMD5="$(eval "$ZZUF $ZZOPTS $CMD" 2>/dev/null | md5sum | cut -b1-32)" 23 23 if [ -z "$MD5" ]; then … … 70 70 MD5="" 71 71 check "$ZZOPTS" "cat $file" "cat" 72 check "$ZZOPTS" "-i cat < $file" " cat stdin"72 check "$ZZOPTS" "-i cat < $file" "|cat" 73 73 case $file in 74 74 *text*) … … 77 77 # initially. (Linux sed doesn't, but OS X sed does.) 78 78 check "$ZZOPTS" "grep -- -a '' $file" "grep -a ''" 79 check "$ZZOPTS" "-- sed -e n $file" "sed -e n" 80 #check "$ZZOPTS" "-- cut -b1- $file" "cut -b1-" 79 check "$ZZOPTS" "-i grep -- -a '' < $file" "|grep -a ''" 80 check "$ZZOPTS" "sed -- -e n $file" "sed -e n" 81 check "$ZZOPTS" "-i sed -- -e n < $file" "|sed -e n" 82 #check "$ZZOPTS" "cut -- -b1- $file" "cut -b1-" 83 #check "$ZZOPTS" "-i cut -- -b1- < $file" "|cut -b1-" 81 84 ;; 82 85 esac
Note: See TracChangeset
for help on using the changeset viewer.