ext4/031: use _try_scratch_mount instead of _scratch_mount
authorXiaoli Feng <xifeng@redhat.com>
Fri, 15 Nov 2019 14:42:48 +0000 (22:42 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 24 Nov 2019 16:05:40 +0000 (00:05 +0800)
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>
tests/ext4/031

index 53770f035639fb37997ded0b446409a8dbf5145b..dc58214e361288faae8582e788c4c2887791d72d 100755 (executable)
@@ -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.