Skip to contentSkip to conversation

ext4/031: use _try_scratch_mount instead of _scratch_mount

PATCH New XiaoLi Feng 1 participant 1 message Nov 15, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext4/031: use _try_scratch_mount instead of _scratch_mount

From: Xiaoli Feng <[email protected]>

Here will check the return code of mount option. So update it to use _try_scratch_mount.

---
 tests/ext4/031 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/ext4/031 +1 -1
index 53770f03..dc58214e 100755
@@ -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.
Signature · 1 line
2.18.1