mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/013: use killall -9 and wait in _cleanup()
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>
This commit is contained in:
committed by
Dave Chinner
parent
85a011724a
commit
49a4f924cd
+2
-1
@@ -40,7 +40,8 @@ status=1 # failure is the default!
|
||||
|
||||
_cleanup()
|
||||
{
|
||||
killall fsstress 2>/dev/null
|
||||
killall -9 fsstress 2>/dev/null
|
||||
wait
|
||||
cd /
|
||||
umount $SCRATCH_MNT 2>/dev/null
|
||||
rm -f $tmp.*
|
||||
|
||||
Reference in New Issue
Block a user