]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfstests: test 110 sometimes fails to unmount scratch dev
authorDave Chinner <dchinner@redhat.com>
Thu, 26 Jul 2012 08:35:03 +0000 (08:35 +0000)
committerroot <root@cxfsxe4.(none)>
Wed, 22 Aug 2012 20:49:46 +0000 (15:49 -0500)
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>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
110

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