4 EXEDIR
=/usr
/build
/drivers
/dp8390
11 # $1 = test-nr, $2 = count, $3 = seed
15 pid
=`ps ax | grep $LABEL | grep -v grep |
16 sed 's,^[ ]*,,;s,[ ].*,,`
24 .
/swifi
-f $EXE $pid $1 $2 $3 >/tmp
/out
27 echo "driver failed to die, params: test $1, count $2, seed $3"
32 # $1 = count, $2 = seed
35 echo "Seed: $seed" >> log
37 do_one
6 $count $seed # Source fault
38 do_one
5 $count $seed # Destination fault
39 do_one
8 $count $seed # Pointer fault
40 do_one
14 $count $seed # Interface fault
41 do_one
12 $count $seed # Loop fault
42 do_one
0 $count $seed # Text fault
43 do_one
4 $count $seed # Nop fault
46 # Start our own driver.
48 sleep 10 # Allow driver to die
49 service up
$EXE -script `pwd`/rs.restart_imm
-config /etc
/drivers.conf
-period 3HZ
53 while [ $i -lt 10000 ]