diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-15 17:22:44 -0800 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2017-11-16 12:24:12 +0800 |
commit | dca11687378809f6a84da8f957ed45dd8fed4567 (patch) | |
tree | 019102a43901caee6be4bb4a3e220a268514bda1 | |
parent | b5b3e2220ace9f91ef8b9fc3b7593b1a3e46117d (diff) | |
download | xfstests-dca11687378809f6a84da8f957ed45dd8fed4567.tar.gz |
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 <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rw-r--r-- | common/rc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)" |