Introduce _disable_dmesg_check function, which can be called by tests that generate WARNINGs etc. on purpose, so the tests won't fail _dmesg_check. Signed-off-by: Eryu Guan <eguan@xxxxxxxxxx> --- common/rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/rc b/common/rc index 5ce3322..edd22bf 100644 --- a/common/rc +++ b/common/rc @@ -2805,6 +2805,12 @@ _get_device_size() grep `_short_dev $1` /proc/partitions | awk '{print $3}' } +# don't check dmesg log after test +_disable_dmesg_check() +{ + rm -f ${RESULT_DIR}/check_dmesg +} + init_rc() { if [ "$iam" == new ] -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html