Ignore:
Timestamp:
Jan 31, 2010 1:18:01 PM (5 years ago)
Author:
sam
Message:

Minor testsuite behaviour updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/test/check-zzuf-r-ratio

    r4272 r4310  
    2424    rtot=0
    2525    new_test "$mib MiB of zeroes, ratio $r"
     26    echo " expecting $expect"
     27    printf " got"
    2628    for x in 0 1 2 3 4; do
    2729        ret=`dd if=/dev/zero bs=1048576 count=$mib 2>/dev/null | $ZZUF -s $s2 -r $r | "$ZZERO"`
     
    2931        if [ "$rmin" = -1 -o "$ret" -lt "$rmin" ]; then rmin=$ret; fi
    3032        rtot=`expr $rtot + $ret || true`
    31         echo " try $x .......... $ret"
     33        printf " $ret"
    3234        s2=`expr $s2 + 1`
    3335    done
     36    echo ""
    3437    rmean=`expr '(' $rtot + 2 ')' / 5 || true`
    3538    delta=`expr $rmean - $expect || true`
    36     printf " expected $expect min/avg/max $rmin/$rmean/$rmax .........."
     39    printf " min/avg/max $rmin/$rmean/$rmax .........."
    3740    if [ "$delta" -gt -5 -a "$delta" -lt 5 ]; then
    3841        pass_test " ok"
Note: See TracChangeset for help on using the changeset viewer.