abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit c81c3c3214cac3c930cf43c427c0ede79173066d
parent 466103cdd4f5b364f0da585d162505a8ab6e6aff
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 24 Jun 2014 10:48:11 +0200

Stop running tests once the environment is contaminated

Diffstat:
testsuite.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite.sh b/testsuite.sh @@ -31,8 +31,8 @@ expected_abduco_output() { } check_environment() { - [ "`$ABDUCO | wc -l`" -gt 1 ] && echo Abduco session exists && return 1; - pgrep abduco && echo Abduco process exists && return 1; + [ "`$ABDUCO | wc -l`" -gt 1 ] && echo Abduco session exists && exit 1; + pgrep abduco && echo Abduco process exists && exit 1; return 0; }