irctk

libircclient binding for scripts
git clone https://a3nm.net/git/irctk/
Log | Files | Refs | README

commit 762e5970d8baa01d0f6aafbb549c323acc0e406b
parent 29d7dc3fe89958f3dc4a890864d0632aea1ad9c6
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu,  6 Aug 2015 22:57:19 +0200

wait more to avoid test failures

Diffstat:
test/all.sh | 6+++---
test/lpost.sh | 4++--
test/order2.sh | 2+-
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/all.sh b/test/all.sh @@ -8,8 +8,8 @@ cd all seq 3 | sed 's/^.*/[#all_testa] <allout> &\n[#all_testb] <allout> &/' > ref tail -f /dev/null | ../../irctk allin@localhost \#all_testa \#all_testb > heard & PID=$! -sleep 1 -seq 3 | ../../irctk allout@localhost -l \#all_testa \#all_testb -sleep 1 +sleep 2 +seq 3 | ../../irctk allout@localhost -I 4 -l \#all_testa \#all_testb +sleep 6 kill $PID diff ref heard diff --git a/test/lpost.sh b/test/lpost.sh @@ -21,9 +21,9 @@ tail -f /dev/null | PID=$! sleep 1 awk '{if ($1 == l) {print $2} else {print $0}} {l = $1}' say | tee said | - ../../irctk lposto@localhost -p \#lpost_testa \#lpost_testb \ + ../../irctk lposto@localhost -I 5 -p \#lpost_testa \#lpost_testb \ \#lpost_testc -sleep 1 +sleep 6 kill $PID for chan in testa testb testc do diff --git a/test/order2.sh b/test/order2.sh @@ -30,7 +30,7 @@ cat >tosay <<EOF EOF (sleep 4; cat tosay | - ../../irctk -I 15 order2o@localhost \#order2_test1 \#order2_test2 \#order2_test3 2>/dev/null \ + ../../irctk -I 25 order2o@localhost \#order2_test1 \#order2_test2 \#order2_test3 2>/dev/null \ > /dev/null) & sleep 1 PID=$!