Changeset 1542 for zzuf/trunk/test


Ignore:
Timestamp:
Jan 3, 2007, 10:04:01 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Minor optimisations to the testsuite.
File:
1 edited

Legend:

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

    r1541 r1542  
    2020    ALIAS="$4"
    2121    echo -n " $(echo "$ALIAS:              " | cut -b1-15)"
    22     NEWMD5="$(eval "$ZZUF -i -s $SEED -r $RATIO $CMD" 2>/dev/null | md5sum | cut -b1-32)"
     22    NEWMD5="$(eval "$ZZUF -s $SEED -r $RATIO $CMD" 2>/dev/null | md5sum | cut -b1-32)"
    2323    if [ -z "$MD5" ]; then
    2424        MD5="$NEWMD5"
     
    6666        MD5=""
    6767        check $seed $r "cat $file" "cat"
    68         check $seed $r "cat < $file" "cat stdin"
     68        check $seed $r "-i cat < $file" "cat stdin"
    6969        # We don't include grep in the testsuite because it puts a newline
    7070        # at the end of its input if it was not there initially.
    7171        #check $seed $r "grep -- -a \\'\\' $file" "grep -a"
    72         check $seed $r "sed n $file" "sed n"
     72        check $seed $r "-- sed -e n $file" "sed n"
    7373        check $seed $r "dd bs=65536 if=$file" "dd(bs=65536)"
    7474        check $seed $r "dd bs=1111 if=$file" "dd(bs=1111)"
Note: See TracChangeset for help on using the changeset viewer.