* [PATCH] xfs/167: wait for fsstress to exit
@ 2015-10-08 9:55 Eryu Guan
0 siblings, 0 replies; only message in thread
From: Eryu Guan @ 2015-10-08 9:55 UTC (permalink / raw)
To: fstests; +Cc: Eryu Guan
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 <eguan@redhat.com>
---
tests/xfs/167 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/xfs/167 b/tests/xfs/167
index 875bd31..e6c65d2 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()
--
2.4.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-08 9:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 9:55 [PATCH] xfs/167: wait for fsstress to exit Eryu Guan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox