[PATCH 1/4] xfstests: test 110 sometimes fails to unmount scratch dev

Dave Chinner
2012-07-26T08:35:11Z

From: Dave Chinner <dchinner@redhat.com>

It runs a bunch of rm processes in the background, then immediately
calls _check_scratch_fs without waiting for them to complete, hence
the unmount can fail with a busy filesystem error.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
110 | 1 +
1 file changed, 1 insertion(+)

diff --git a/110 b/110
index aad5835..c58e6c9 100755
--- a/110
+++ b/110
@@ -69,6 +69,7 @@ do
let I=$I+1
[ $[$I % 1000] -eq 0 ] && echo "Created $I/$E"
done
+wait

sync

--
1.7.10