]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
syslog check: fix false-positive BUG matches in random strings
authorSage Weil <sage@newdream.net>
Sun, 29 Jul 2012 19:15:06 +0000 (12:15 -0700)
committerSage Weil <sage@newdream.net>
Sun, 29 Jul 2012 19:15:51 +0000 (12:15 -0700)
teuthology/task/internal.py

index e4d3611b133982ce468a9edeedf9e2549c3b24fc..e891290b04cf0f47deb02f4a913075dd0383f1bc 100644 (file)
@@ -335,7 +335,7 @@ kern.* -/tmp/cephtest/archive/syslog/kern.log;RSYSLOG_FileFormat
             r = remote.run(
                 args=[
                     'egrep',
-                    'BUG|INFO|DEADLOCK',
+                    '\bBUG\b|\bINFO\b|\bDEADLOCK\b',
                     run.Raw('/tmp/cephtest/archive/syslog/*.log'),
                     run.Raw('|'),
                     'grep', '-v', 'task .* blocked for more than .* seconds',