From 84bb170e3a7442846e945a810f29913b7c0f49c6 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 19 Nov 2020 10:57:16 -0800 Subject: [PATCH] scoutfs-tests: add dmesg for missing metadev_path The xfstests generic/067 test is a bit of a stinker in that it's trying to make sure a mount failes when the device is invalid. It does this with raw mount calls without any filesystem-specific conventions. Our mount fails, so the test passes, but not for the reason the test assumes. It's not a great test. But we expect it to not be great and produce this message. Signed-off-by: Zach Brown --- tests/funcs/filter.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/funcs/filter.sh b/tests/funcs/filter.sh index 0615d010..65353a04 100644 --- a/tests/funcs/filter.sh +++ b/tests/funcs/filter.sh @@ -56,5 +56,8 @@ t_filter_dmesg() re="$re|scoutfs .*: all lock clients recovered" re="$re|scoutfs .* error: client rid.*lock recovery timed out" + # some tests mount w/o options + re="$re|scoutfs .* error: Required mount option \"metadev_path\" not found" + egrep -v "($re)" }