mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
ext4/031: 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: Xiaoli Feng <xifeng@redhat.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ echo "Need to make some inline data..." > $TESTFILE
|
||||
export MOUNT_OPTIONS="$SAVE_MOUNT_OPTIONS"
|
||||
|
||||
_scratch_unmount >> $seqres.full 2>&1
|
||||
_scratch_mount "-o dax" >> $seqres.full 2>&1
|
||||
_try_scratch_mount "-o dax" >> $seqres.full 2>&1
|
||||
|
||||
if [[ $? != 0 ]]; then
|
||||
# _require_scratch_dax already verified that we could mount with DAX.
|
||||
|
||||
Reference in New Issue
Block a user