commit 74ecbd6a78eed2f80119bdb9477f4615a24aed6a
parent 6b12d34283026fbbd06aaf5b8f2f016baba5a641
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Fri, 9 May 2014 19:10:42 +0200
make host.sh not depend on actual host
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/host.sh b/test/host.sh
@@ -12,4 +12,6 @@ sleep 1
seq 3 | ../../irctk -U "username" -o hosto@localhost \#host_test > /dev/null
sleep 1
kill $PID
-diff ref heard
+# cannot know the exact host that will appear...
+diff <(sed 's/![^>]*>/!>/' ref) <(sed 's/![^>]*>/!>/' heard)
+