common: improve regex in _check_dmesg
PATCH 1/1 common: improve regex in _check_dmesg
A dmesg output as below cause all cases fail:
[ 508.002072] EDAC DEBUG: ie31200_check: MC0
Due to it matches egrep -e "BUG:" in _check_dmesg. But it's not a real BUG output, so use "\bBUG:" to avoid this mistake.
Signed-off-by Zorro Lang <[email protected]>
--- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/rc +1 -1
@@ -3460,7 +3460,7 @@ _check_dmesg() _dmesg_since_test_start | $filter >$seqres.dmesg egrep -q -e "kernel BUG at" \ -e "WARNING:" \ - -e "BUG:" \ + -e "\bBUG:" \ -e "Oops:" \ -e "possible recursive locking detected" \ -e "Internal error" \
Signature · 1 line
2.14.4