From fd9361feaafe075c50c2a2a2a627553d097cb1b3 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 4 Apr 2013 16:32:20 +0200 Subject: Add new testsuite entries to verify counters and the new type implementations Signed-off-by: Jozsef Kadlecsik --- tests/check_klog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/check_klog.sh') 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 -- cgit v1.2.3