mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/521: use _try_scratch_mount instead of _scratch_mount
Here will check the return code of mount option. So update it to use _try_scratch_mount. Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ echo "Format and mount 100m rt volume"
|
||||
export USE_EXTERNAL=yes
|
||||
export SCRATCH_RTDEV=$rtdev
|
||||
_scratch_mkfs -r size=100m > $seqres.full
|
||||
_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume"
|
||||
_try_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume"
|
||||
|
||||
testdir=$SCRATCH_MNT/test-$seq
|
||||
mkdir $testdir
|
||||
|
||||
Reference in New Issue
Block a user