From 00d7bc9269a24b8ed85d9e86bd9528a10afda857 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Mon, 6 May 2013 05:36:35 +0000 Subject: [PATCH] Update tests code --- mkfile | 4 +++- test.awk | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mkfile b/mkfile index 300ac9d..e9a6d99 100644 --- a/mkfile +++ b/mkfile @@ -2,10 +2,12 @@ CFLAGS = -g -Wall -fPIC --std=c99 CPPFLAGS = -I/usr/include/awk -I. -DHAVE_CONFIG_H test:Q: + rm -f var/sp_cur.json #awk -f rhawk < testirc.txt #awk -f rhawk < testirc.txt awk -f test.awk test.txt \ - | awk '-vDEBUG=1' -frhawk \ + | awk '-vDEBUG=1' -frhawk 2>&1 \ + | grep -v '^ >\|USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\|unicode' #| grep 'points\|bid\|took' test-select:Q: select.so diff --git a/test.awk b/test.awk index 7e208a0..3758f28 100644 --- a/test.awk +++ b/test.awk @@ -1,7 +1,7 @@ # Functions function say(who, msg) { - print ":" who "! PRIVMSG #rhtest :" msg + print ":" who"!u@h PRIVMSG #rhtest :" msg } function error(msg) -- 2.43.2