Changeset 1545 for zzuf


Ignore:
Timestamp:
Jan 3, 2007, 6:58:11 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Make the testsuite reproductible.
File:
1 edited

Legend:

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

    r1542 r1545  
    4848trap "echo ''; echo ''; echo 'Aborted.'; cleanup; exit 0" 1 2 15
    4949
    50 seed=$(($RANDOM * $$))
     50seed=$((0$1))
    5151ZZUF="$(dirname "$0")/../src/zzuf"
    5252FDCAT="$(dirname "$0")/fdcat"
     
    6060echo ""
    6161
    62 for file in /tmp/zzuf-text-$$ /tmp/zzuf-zero-$$ /tmp/zzuf-random-$$; do
     62for file in /tmp/zzuf-zero-$$ /tmp/zzuf-text-$$ /tmp/zzuf-random-$$; do
    6363    for r in 0.000000 0.00001 0.0001 0.001 0.01 0.1 1.0 10.0; do
    6464        echo "Testing zzuf on $file, ratio $r:"
Note: See TracChangeset for help on using the changeset viewer.