]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: test 110 sometimes fails to unmount scratch dev
authorDave Chinner <dchinner@redhat.com>
Tue, 6 Dec 2011 11:16:58 +0000 (22:16 +1100)
committerChristoph Hellwig <hch@lst.de>
Thu, 8 Dec 2011 17:11:38 +0000 (17:11 +0000)
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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
110

diff --git a/110 b/110
index cf5f663132ff345f9dfcc59f31354622b240c10f..aad58353a87b8cd69f03ccac5a3b11ffcf387a78 100755 (executable)
--- 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