Ignore:
Timestamp:
May 18, 2008 2:38:37 PM (6 years ago)
Author:
sam
Message:
  • Don't use `--' in the testsuite, it is no longer understood.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/test/testsuite.sh

    r2325 r2335  
    7373            # they put a newline at the end of their input if it was not there 
    7474            # initially. (Linux sed doesn't, but OS X sed does.) 
    75             check "$ZZOPTS" "head -- -n 9999 $file" "head -n 9999" 
    76             check "$ZZOPTS" "tail -- -n 9999 $file" "tail -n 9999" 
    77             check "$ZZOPTS" "tail -- -n +1 $file" "tail -n +1" 
    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-" 
    81             check "$ZZOPTS" "-i head -- -n 9999 < $file" "|head -n 9999" 
    82             check "$ZZOPTS" "-i tail -- -n 9999 < $file" "|tail -n 9999" 
    83             check "$ZZOPTS" "-i tail -- -n +1 < $file" "|tail -n +1" 
    84             check "$ZZOPTS" "-i grep -- -a '' < $file" "|grep -a ''" 
    85             check "$ZZOPTS" "-i sed -- -e n < $file" "|sed -e n" 
    86             #check "$ZZOPTS" "-i cut -- -b1- < $file" "|cut -b1-" 
     75            check "$ZZOPTS" "head -n 9999 $file" "head -n 9999" 
     76            check "$ZZOPTS" "tail -n 9999 $file" "tail -n 9999" 
     77            check "$ZZOPTS" "tail -n +1 $file" "tail -n +1" 
     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-" 
     81            check "$ZZOPTS" "-i head -n 9999 < $file" "|head -n 9999" 
     82            check "$ZZOPTS" "-i tail -n 9999 < $file" "|tail -n 9999" 
     83            check "$ZZOPTS" "-i tail -n +1 < $file" "|tail -n +1" 
     84            check "$ZZOPTS" "-i grep -a '' < $file" "|grep -a ''" 
     85            check "$ZZOPTS" "-i sed -e n < $file" "|sed -e n" 
     86            #check "$ZZOPTS" "-i cut -b1- < $file" "|cut -b1-" 
    8787            ;; 
    8888        esac 
Note: See TracChangeset for help on using the changeset viewer.