mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
check for mount and mkfs failures and exit if failure occurs, rather than fill qa machines root fs.
Merge of master-melb:xfs-cmds:27324a by kenmcd.
This commit is contained in:
@@ -76,8 +76,9 @@ rm -f $seq.full
|
||||
_do_die_on_error=message_only
|
||||
|
||||
echo -n "Make a 48 megabyte filesystem on SCRATCH_DEV and mount... "
|
||||
_do "_scratch_mkfs_xfs -dsize=48m,agcount=3"
|
||||
_do "_scratch_mount"
|
||||
_scratch_mkfs_xfs -dsize=48m,agcount=3 2>&1 >/dev/null || _fail "mkfs failed"
|
||||
_scratch_mount || _fail "mount failed"
|
||||
|
||||
echo "done"
|
||||
|
||||
echo -n "Reserve 16 1Mb unfragmented regions... "
|
||||
|
||||
Reference in New Issue
Block a user