From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Unmount the V4 filesystem we forcibly created to run this test during test cleanup so that the post-test wrapup checks won't try to remount the filesystem with different MOUNT_OPTIONS (specifically, the ones that get screened out by _force_xfsv4_mount_options) and fail. Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --- v2: add a comment explaining why we unmount the scratch device --- tests/xfs/194 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/xfs/194 b/tests/xfs/194 index 3e186528..9001a146 100755 --- a/tests/xfs/194 +++ b/tests/xfs/194 @@ -18,6 +18,11 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / + # Unmount the V4 filesystem we forcibly created to run this test so that + # the post-test wrapup checks won't try to remount the filesystem with + # different MOUNT_OPTIONS (specifically, the ones that get screened out by + # _force_xfsv4_mount_options) and fail. + _scratch_unmount rm -f $tmp.* }