From: XiaoLi Feng <xifeng@redhat.com>
To: fstests@vger.kernel.org
Cc: Xiaoli Feng <xifeng@redhat.com>
Subject: [PATCH v1] ext4/031: use _try_scratch_mount instead of _scratch_mount
Date: Fri, 15 Nov 2019 22:42:48 +0800 [thread overview]
Message-ID: <20191115144248.477-1-xifeng@redhat.com> (raw)
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
reply other threads:[~2019-11-15 14:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191115144248.477-1-xifeng@redhat.com \
--to=xifeng@redhat.com \
--cc=fstests@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox