From: Yang Xu Date: Mon, 19 Oct 2020 03:01:59 +0000 (+0800) Subject: generic/402: Drop useless fail message X-Git-Tag: v2022.05.01~637 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=e944dd5b9df6b41a7eafc1b0e59ee480886261fa;ds=inline 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 Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- 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