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

Dave Chinner
2011-12-06T11:17:09Z

From: Dave Chinner <dchinner@redhat.com>

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

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
110 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/110 b/110
index cf5f663..aad5835 100755
--- a/110
+++ b/110
@@ -79,6 +79,7 @@ do
rm $SCRATCH_MNT/test/${STR1}${STR2}${STR3}${I} &
let I=$I+1
done
+wait

_check_scratch_fs

--
1.7.5.4