]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: add filter to _check_dmesg
authorEryu Guan <eguan@redhat.com>
Tue, 4 Aug 2015 04:10:48 +0000 (14:10 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 Aug 2015 04:10:48 +0000 (14:10 +1000)
commit677f277e56b9a97cdbbcecbf8c6f0e0f6a795a1d
tree4017ce49af87716c065445ce5c10bd1084a88b01
parent7a2354e967f9850fac29f36a45748de13502eba8
common: add filter to _check_dmesg

Introduce a parameter to _check_dmesg which allows callers to provide a
customized filter function to filter out intentional dmesg logs. The
default filter is a simple 'cat' command.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc