From f62da202aefcf2aac9e2a36e1fbe1980c8072684 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 19 Nov 2015 15:10:05 -0800 Subject: [PATCH] kill the tail process --- parallel_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parallel_test.sh b/parallel_test.sh index 339120d..cf3174b 100755 --- a/parallel_test.sh +++ b/parallel_test.sh @@ -30,6 +30,7 @@ test_logs+=("logs/cloudron-update-test.log") # stream all the logs (to stderr so that it's not in email but in deploy logs) tail -f ${test_logs[*]} >&2 & +tail_pid=$! # wait for tests to finish fail=0 @@ -38,6 +39,8 @@ for pid in "${test_pids[@]}"; do wait $pid || let "fail+=1" done +kill -9 "${tail_pid}" + echo echo for t in "${tests[@]}"; do