Kill any lingering fsstress processes and wait properly should we abort
the test. This prevents the workload from inadvertently affecting
subsequent tests.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
- killall fsstress 2>/dev/null
+ killall -9 fsstress 2>/dev/null
+ wait
cd /
umount $SCRATCH_MNT 2>/dev/null
rm -f $tmp.*
cd /
umount $SCRATCH_MNT 2>/dev/null
rm -f $tmp.*