Ignore:
Timestamp:
Jan 14, 2010, 1:26:35 AM (11 years ago)
Author:
Sam Hocevar
Message:

Add a check-flag-f test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/test/check-flag-A

    r4266 r4267  
    1818# Check -A with no fuzzing: output must match
    1919new_test "zzuf -A -r0 zzcat file-random file-random"
    20 m1=$($ZZUF -m -r0 $ZZCAT "$DIR/file-random" "$DIR/file-random")
    21 m2=$($ZZUF -m -A -r0 $ZZCAT "$DIR/file-random" "$DIR/file-random")
     20m1=$($ZZUF -m -r0 $ZZCAT "$DIR/file-random" "$DIR/file-random" | cut -f2 -d' ')
     21m2=$($ZZUF -m -A -r0 $ZZCAT "$DIR/file-random" "$DIR/file-random" | cut -f2 -d' ')
    2222if [ "$m1" = "$m2" ]; then
    2323    pass_test "ok"
     
    2828# Check -A with fuzzing: output must be different
    2929new_test "zzuf -A -r0.1 zzcat file-random file-random"
    30 m1=$($ZZUF -m -r0.1 $ZZCAT "$DIR/file-random" "$DIR/file-random")
    31 m2=$($ZZUF -m -A -r0.1 $ZZCAT "$DIR/file-random" "$DIR/file-random")
     30m1=$($ZZUF -m -r0.1 $ZZCAT "$DIR/file-random" "$DIR/file-random" | cut -f2 -d' ')
     31m2=$($ZZUF -m -A -r0.1 $ZZCAT "$DIR/file-random" "$DIR/file-random" | cut -f2 -d' ')
    3232if [ "$m1" != "$m2" ]; then
    3333    pass_test "ok"
Note: See TracChangeset for help on using the changeset viewer.