xfstests: test 110 sometimes fails to unmount scratch dev

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>
This commit is contained in:
Dave Chinner
2011-12-06 22:16:58 +11:00
committed by Christoph Hellwig
parent b2a0a1c698
commit 46e0e4ad37
+1
View File
@@ -79,6 +79,7 @@ do
rm $SCRATCH_MNT/test/${STR1}${STR2}${STR3}${I} & rm $SCRATCH_MNT/test/${STR1}${STR2}${STR3}${I} &
let I=$I+1 let I=$I+1
done done
wait
_check_scratch_fs _check_scratch_fs