]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: improve regex in _check_dmesg
authorZorro Lang <zlang@redhat.com>
Tue, 12 Jun 2018 06:09:06 +0000 (14:09 +0800)
committerEryu Guan <guaneryu@gmail.com>
Tue, 12 Jun 2018 08:37:19 +0000 (16:37 +0800)
commit9b07c2d4fd521a86c69b1ccc2bb18aaa9156ada0
tree2eeb4f0a80bb748a5ccdfffdf2a0b04613c58525
parent3805d7e97a9e62993bd6229cc73a50ec7b5fc84b
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 <zlang@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc