mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: no need to parse config file in new
I saw "new" failed the TEST_DEV/SCRATCH_DEV validation when TEST_DEV or SCRATCH_DEV points to directory, which is needed in overlayfs testing. "new" only generates test template and doesn't need common/config to parse and validate TEST_DEV/SCRATCH_DEV etc., so just returns after setting all needed commands. Signed-off-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
@@ -270,6 +270,11 @@ fi
|
||||
rm -f /tmp/crc_check.img
|
||||
export XFS_MKFS_HAS_NO_META_SUPPORT
|
||||
|
||||
# new doesn't need config file parsed, we can stop here
|
||||
if [ "$iam" == "new" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
_mount_opts()
|
||||
{
|
||||
case $FSTYP in
|
||||
|
||||
Reference in New Issue
Block a user