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:
Xiaoli Feng
2019-11-15 22:42:48 +08:00
committed by Eryu Guan
parent f3e465ae91
commit 86216d73ef
+1 -1
View File
@@ -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.