[PATCH 5/5] xfstests: unmount TEST_DEV and SCRATCH_DEV after test run
Lukas Czerner
lczerner at redhat.com
Tue Mar 25 18:38:11 CDT 2014
Unmount TEST_DEV and SCRATCH_DEV after each test run to avoid
mounting multiple devices on the same mount point which might result
in xfstest not being able to unmount the device later down the path.
Signed-off-by: Lukas Czerner <lczerner at redhat.com>
---
check | 3 +++
1 file changed, 3 insertions(+)
diff --git a/check b/check
index b3937b3..a26fbf7 100755
--- a/check
+++ b/check
@@ -620,6 +620,9 @@ for section in $HOST_OPTIONS_SECTIONS; do
done
_wrapup
echo
+
+ umount $TEST_DEV 2> /dev/null
+ umount $SCRATCH_DEV 2> /dev/null
done
interrupt=false
--
1.8.3.1
More information about the xfs
mailing list