summaryrefslogtreecommitdiff
path: root/tests/generic/402
diff options
context:
space:
mode:
authorYang Xu <xuyang2018.jy@cn.fujitsu.com>2020-10-19 11:01:59 +0800
committerEryu Guan <guaneryu@gmail.com>2020-10-20 13:35:29 +0800
commite944dd5b9df6b41a7eafc1b0e59ee480886261fa (patch)
tree1e22cfa826c4251c3f7675a285078b17982c69a6 /tests/generic/402
parent2f65e8db375e2b20fc6f7ea719111bd6a94766f5 (diff)
generic/402: Drop useless fail message
Here won't be "scratch mount failed" messages when mounting SCRATCH_DEV failed, because _scratch_mount exits early by invoking the following_fail. _scratch_mount { _try_scratch_mount $* || _fail "mount failed" } The message is useless and redundant. So drop it. Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'tests/generic/402')
-rwxr-xr-xtests/generic/4022
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic/402 b/tests/generic/402
index 7fc81864..ddaadf6d 100755
--- a/tests/generic/402
+++ b/tests/generic/402
@@ -102,7 +102,7 @@ run_test()
}
_scratch_mkfs &>> $seqres.full 2>&1 || _fail "mkfs failed"
-_scratch_mount || _fail "scratch mount failed"
+_scratch_mount
_require_timestamp_range $SCRATCH_DEV