Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / regress / sys / fs / lfs / ckckp / run_ckckp
bloba160851fa8c9a779b2fcedff4bb66952c3f7bb5d
1 #!/bin/ksh
3 TMPMP=$1
4 LFSCDEV=$2
5 GFILE=$3
6 WFILE=$4
7 PLEX=$5
8 COUNT=$6
9 SIZE=$7
10 UTILDIR=`pwd`
12 (cd $TMPMP; $UTILDIR/cleanalot_async -n $COUNT -p $PLEX -b $SIZE) &
13 $UTILDIR/ckckp $TMPMP $LFSCDEV $GFILE $WFILE
14 kill %1
15 sleep 2
16 kill -9 %1
17 sleep 2
19 exit 0