mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
ovelray: drop explicit use of OVERLAY_MOUNT_OPTIONS
Tests don't need to specify $OVERLAY_MOUNT_OPTIONS for overlay mount helpers. These options have already been assigned to MOUNT_OPTIONS by _overlay_config_override or by _mount_opts and will be added to mount command by _common_dev_mount_options in _overlay_mount_dirs. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
dae4fcad54
commit
aee21da0fd
+2
-4
@@ -68,8 +68,7 @@ _scratch_mkfs
|
||||
upperdir=$OVL_BASE_SCRATCH_MNT/$OVL_UPPER
|
||||
workdir=$OVL_BASE_SCRATCH_MNT/$OVL_WORK
|
||||
|
||||
_overlay_scratch_mount_dirs $lowerdir $upperdir $workdir \
|
||||
$OVERLAY_MOUNT_OPTIONS
|
||||
_overlay_scratch_mount_dirs $lowerdir $upperdir $workdir
|
||||
|
||||
test_dir=$SCRATCH_MNT/test_dir/
|
||||
|
||||
@@ -185,8 +184,7 @@ _scratch_mkfs
|
||||
upperdir=$OVL_BASE_SCRATCH_MNT/ovl-upper
|
||||
workdir=$OVL_BASE_SCRATCH_MNT/ovl-work
|
||||
|
||||
_overlay_scratch_mount_dirs $middir:$lowerdir $upperdir $workdir \
|
||||
$OVERLAY_MOUNT_OPTIONS
|
||||
_overlay_scratch_mount_dirs $middir:$lowerdir $upperdir $workdir
|
||||
|
||||
# Copy up test_dir
|
||||
touch $test_dir/test_file
|
||||
|
||||
Reference in New Issue
Block a user