diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-09-21 10:46:57 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-09-21 10:46:57 +0200 |
commit | f365fc0730c2243c4fdff5de91f3ad575106398f (patch) | |
tree | 55c0ca250b1be1ffa885f4208530d67456763b75 /src/auditor/test-revocation.sh | |
parent | 3fa9f3bb12635c6bbb50b763e2c955d73e2e37fa (diff) |
-try to fix more of test-*.sh
Diffstat (limited to 'src/auditor/test-revocation.sh')
-rwxr-xr-x | src/auditor/test-revocation.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh index 011585340..1aeb6b641 100755 --- a/src/auditor/test-revocation.sh +++ b/src/auditor/test-revocation.sh @@ -54,6 +54,9 @@ function exit_fail() { exit 1 } +# Clean up leftovers on start +rm -f libeufin-sandbox.pid libeufin-nexus.pid + function stop_libeufin() { echo "killing libeufin..." @@ -61,7 +64,7 @@ function stop_libeufin() then echo "Killing libeufin sandbox" PID=`cat libeufin-sandbox.pid 2> /dev/null` - kill $PID || true + kill $PID 2> /dev/null || true wait $PID rm libeufin-sandbox.pid fi @@ -69,7 +72,7 @@ function stop_libeufin() then echo "Killing libeufin nexus" PID=`cat libeufin-nexus.pid 2> /dev/null` - kill $PID || true + kill $PID 2> /dev/null || true wait $PID rm libeufin-nexus.pid fi |