mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Make test 41 fail if it cannot run mkfs successfully.
Merge of master-melb:xfs-cmds:25749a by kenmcd.
This commit is contained in:
@@ -37,7 +37,7 @@ _supported_os IRIX Linux
|
|||||||
|
|
||||||
_require_scratch
|
_require_scratch
|
||||||
_require_nobigloopfs
|
_require_nobigloopfs
|
||||||
|
umount $SCRATCH_DEV 2>/dev/null
|
||||||
|
|
||||||
_fill()
|
_fill()
|
||||||
{
|
{
|
||||||
@@ -48,11 +48,12 @@ _fill()
|
|||||||
|
|
||||||
_do_die_on_error=message_only
|
_do_die_on_error=message_only
|
||||||
rm -f $seq.full
|
rm -f $seq.full
|
||||||
#agsize=16
|
|
||||||
agsize=32
|
agsize=32
|
||||||
echo -n "Make $agsize megabyte filesystem on SCRATCH_DEV and mount... "
|
echo -n "Make $agsize megabyte filesystem on SCRATCH_DEV and mount... "
|
||||||
_do "_scratch_mkfs_xfs -dsize=${agsize}m,agcount=1"
|
_do "_scratch_mkfs_xfs -dsize=${agsize}m,agcount=1"
|
||||||
|
[ $? -ne 0 ] && exit
|
||||||
_do "_scratch_mount"
|
_do "_scratch_mount"
|
||||||
|
[ $? -ne 0 ] && exit
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
# full allocation group -> partial; partial -> expand partial + new partial;
|
# full allocation group -> partial; partial -> expand partial + new partial;
|
||||||
|
|||||||
Reference in New Issue
Block a user