From f7fb3ea1497954a6b2631cf9e3adc0a1352eb2c7 Mon Sep 17 00:00:00 2001 From: Vlad Ivanov Date: Sun, 5 Dec 2021 11:03:12 +0100 Subject: [PATCH] Ignore failures of killall in setup_test_env.sh Killall exits with a non-zero code when no matching process is found, making it --- tests/proxy/setup_test_env.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/proxy/setup_test_env.sh b/tests/proxy/setup_test_env.sh index 626490b00..7dc4f2ae9 100644 --- a/tests/proxy/setup_test_env.sh +++ b/tests/proxy/setup_test_env.sh @@ -1,6 +1,7 @@ export TESTTMP=${PWD} -killall josh-proxy >/dev/null 2>&1 -killall hyper-cgi-test-server >/dev/null 2>&1 + +killall josh-proxy >/dev/null 2>&1 || true +killall hyper-cgi-test-server >/dev/null 2>&1 || true git init --bare ${TESTTMP}/remote/real_repo.git/ 1> /dev/null git config -f ${TESTTMP}/remote/real_repo.git/config http.receivepack true