irctk

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

commit 6b12d34283026fbbd06aaf5b8f2f016baba5a641
parent 73874547840188d67769cc4152dd4d81d333183d
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri,  9 May 2014 19:10:18 +0200

concede that track is not reliable

Diffstat:
README | 3+++
tests_parallel.sh | 2+-
tests_sequential.sh | 3++-
3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -385,6 +385,9 @@ expect them on stdin. This is useful if you want to write a bot which stores e.g. a score for each user and if you want users to keep their score even if they change nick. These tracking modes are not enabled by default. +Note: because a rename may be seen too late, this option is not guaranteed to +work, and some messages may get mistakenly addressed to an older nick. + === 3.9. Pipelining === irctk has a built-in rate limitation (configurable with -i) which it tries to diff --git a/tests_parallel.sh b/tests_parallel.sh @@ -1,4 +1,4 @@ #!/bin/bash -ls test/*.sh | cut -d/ -f2 | parallel ./runtest.sh +ls test/*.sh | grep -v track.sh | cut -d/ -f2 | parallel ./runtest.sh diff --git a/tests_sequential.sh b/tests_sequential.sh @@ -1,7 +1,8 @@ #!/bin/bash cd test -for t in *.sh +# track.sh is not reliable +ls *.sh | grep -v track.sh | while read t do echo -n "$t... " #./$t || { echo "FAILED!"; exit 1; }