diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-04-04 16:32:20 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-04-09 21:42:16 +0200 |
commit | fd9361feaafe075c50c2a2a2a627553d097cb1b3 (patch) | |
tree | 2628c04a8c329fe2ea102af0d882a01e61610bd8 /tests/check_klog.sh | |
parent | 2222b6adb0be1bdffd58875c5c874e89b0aec4cd (diff) |
Add new testsuite entries to verify counters and the new type implementations
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tests/check_klog.sh')
-rwxr-xr-x | tests/check_klog.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check_klog.sh b/tests/check_klog.sh index 489fa71..a39da77 100755 --- a/tests/check_klog.sh +++ b/tests/check_klog.sh @@ -37,7 +37,7 @@ proto=`echo $1 | tr a-z A-Z`; shift port=$1; shift for setname in $@; do - match=`grep -e "in set $setname: .* SRC=$ipaddr .* PROTO=$proto SPT=$port .*" /var/log/kern.log` + match=`dmesg| tail -n 2 | grep -e "in set $setname: .* SRC=$ipaddr .* PROTO=$proto SPT=$port .*"` if [ -z "$match" ]; then echo "no match!" exit 1 |