* [PATCH v1] ext4/031: use _try_scratch_mount instead of _scratch_mount
@ 2019-11-15 14:42 XiaoLi Feng
0 siblings, 0 replies; only message in thread
From: XiaoLi Feng @ 2019-11-15 14:42 UTC (permalink / raw)
To: fstests; +Cc: Xiaoli Feng
From: Xiaoli Feng <xifeng@redhat.com>
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>
---
tests/ext4/031 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/ext4/031 b/tests/ext4/031
index 53770f03..dc58214e 100755
--- a/tests/ext4/031
+++ b/tests/ext4/031
@@ -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.
--
2.18.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-15 14:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-15 14:42 [PATCH v1] ext4/031: use _try_scratch_mount instead of _scratch_mount XiaoLi Feng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox