irctk

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

commit e8842bcf19da7c276e44901a078318f79629404d
parent ff32e1a6b810a740c77a22801a2644101490ce0c
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri,  7 Sep 2012 14:51:09 +0200

fix test execution with setsid

Diffstat:
runtest.sh | 2+-
test/track.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtest.sh b/runtest.sh @@ -1,7 +1,7 @@ #!/bin/bash cd test -if ./$1 +if setsid ./$1 then echo "$1: passed" else diff --git a/test/track.sh b/test/track.sh @@ -1,6 +1,6 @@ #!/bin/bash -trap 'kill $(jobs -p)' EXIT +trap "kill 0" SIGINT SIGTERM EXIT mkdir -p track cd track