Skip to content

Commit ec380fa

Browse files
Ignore failures of killall in setup_test_env.sh (#552)
Killall exits with a non-zero code when no matching process is found, making it
1 parent cbc0a82 commit ec380fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/proxy/setup_test_env.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export TESTTMP=${PWD}
2-
killall josh-proxy >/dev/null 2>&1
3-
killall hyper-cgi-test-server >/dev/null 2>&1
2+
3+
killall josh-proxy >/dev/null 2>&1 || true
4+
killall hyper-cgi-test-server >/dev/null 2>&1 || true
45

56
git init --bare ${TESTTMP}/remote/real_repo.git/ 1> /dev/null
67
git config -f ${TESTTMP}/remote/real_repo.git/config http.receivepack true

0 commit comments

Comments
 (0)