From: Dave Chinner Date: Thu, 26 Jul 2012 08:35:03 +0000 (+0000) Subject: xfstests: test 110 sometimes fails to unmount scratch dev X-Git-Tag: v2022.05.01~3599 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=427249fe4a933f46d51aee6b057af77dbaba748c;p=users%2Fhch%2Fxfstests-dev.git xfstests: test 110 sometimes fails to unmount scratch dev 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 Reviewed-by: Rich Johnston Signed-off-by: Rich Johnston --- diff --git a/110 b/110 index aad58353a..c58e6c9d4 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