From: Darrick J. Wong Date: Thu, 16 Nov 2017 01:22:44 +0000 (-0800) Subject: common/rc: check dmesg for UBSAN errors X-Git-Tag: v2022.05.01~1776 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=dca11687378809f6a84da8f957ed45dd8fed4567;p=users%2Fhch%2Fxfstests-dev.git common/rc: check dmesg for UBSAN errors If the UBSAN complains about bad behavior, we should capture the dmesg so that developers can inspect it. Signed-off-by: Darrick J. Wong Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index 0cda9da71..4c053a537 100644 --- a/common/rc +++ b/common/rc @@ -3314,6 +3314,7 @@ _check_dmesg() -e "INFO: possible circular locking dependency detected" \ -e "general protection fault:" \ -e "BUG .* remaining" \ + -e "UBSAN:" \ $seqres.dmesg if [ $? -eq 0 ]; then _dump_err "_check_dmesg: something found in dmesg (see $seqres.dmesg)"