5 EXEDIR
=/usr
/src
/drivers
/$NAME
12 service up
$EXE -label $LABEL -script /etc
/rs.single
-period 3HZ
17 # $1 = test-nr, $2 = count, $3 = seed
21 pid
=`ps ax | grep $NAME | grep -v grep |
22 sed 's,^[ ]*,,;s,[ ].*,,`
30 .
/swifi
-f $EXE $pid $1 $2 $3 >/tmp
/out
33 echo "driver survived, params: test $1, count $2, seed $3" ||
39 # $1 = count, $2 = seed
42 echo "Seed: $seed" >> log
44 do_one
6 $count $seed # Source fault
45 do_one
5 $count $seed # Destination fault
46 do_one
8 $count $seed # Pointer fault
47 do_one
14 $count $seed # Interface fault
48 do_one
12 $count $seed # Loop fault
49 do_one
0 $count $seed # Text fault
50 do_one
4 $count $seed # Nop fault
53 # Start our own driver.
55 sleep 10 # Allow driver to die
60 while [ $i -lt 10000 ]