kill the tail process
This commit is contained in:
parent
d45ffad94f
commit
f62da202ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user