From: Eryu Guan Date: Wed, 14 Oct 2015 03:19:34 +0000 (+1100) Subject: xfs/167: wait for fsstress to exit X-Git-Tag: v2022.05.01~2774 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7e938cf3d1594afacce8ce01893cc04d863adecc;p=users%2Fhch%2Fxfstests-dev.git xfs/167: wait for fsstress to exit sync doesn't guarantee all fsstress processes died, and sometimes it ends up running fsck on a mounted fs. Use wait to wait for fsstress to exit. Signed-off-by: Eryu Guan Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/xfs/167 b/tests/xfs/167 index 875bd318b..e6c65d24c 100755 --- a/tests/xfs/167 +++ b/tests/xfs/167 @@ -35,7 +35,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { $KILLALL_PROG -r -q -TERM fsstress 2> /dev/null - sync # ensures all fsstress processes died + wait # ensures all fsstress processes died } workout()