mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/194: unmount forced v4 fs during cleanup
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@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
139f9a1630
commit
ea7ab13c61
@@ -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.*
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user