mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
QA tweaks - use a single os type source mainly (drop get_os, use HOST_OS)
This commit is contained in:
@@ -157,9 +157,6 @@ timestamp=${TIMESTAMP:=false}
|
||||
|
||||
[ -f check.time ] || touch check.time
|
||||
|
||||
_get_os
|
||||
if [ $os == "linux" ]; then
|
||||
|
||||
FULL_FSTYP_DETAILS=`_full_fstyp_details`
|
||||
FULL_HOST_DETAILS=`_full_platform_details`
|
||||
FULL_MKFS_OPTIONS=`_scratch_mkfs_options`
|
||||
@@ -172,12 +169,6 @@ MKFS_OPTIONS -- $FULL_MKFS_OPTIONS
|
||||
MOUNT_OPTIONS -- $FULL_MOUNT_OPTIONS
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
#Linux specific flag '-f'
|
||||
if [ $os == "linux" ]; then
|
||||
flag='-f'
|
||||
fi
|
||||
|
||||
umount $SCRATCH_DEV 2>/dev/null
|
||||
# call the overridden mkfs.xfs - make sure the FS is built
|
||||
|
||||
Reference in New Issue
Block a user