diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 2ddf01a..0502da8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -32,7 +32,7 @@ jobs: opam install bisect_ppx - name: Build - run: opam exec -- dune build --instrument-with bisect_ppx + run: opam exec -- dune build --instrument-with bisect_ppx @all - name: Testing run: | diff --git a/test/e2e/miragevpn-server.sh b/test/e2e/miragevpn-server.sh index d336d9f..bf7931c 100755 --- a/test/e2e/miragevpn-server.sh +++ b/test/e2e/miragevpn-server.sh @@ -21,7 +21,7 @@ pidfile="/tmp/miragevpn-e2e.pid" # kill openvpn client cleanup () { - cat "$pidfile" | xargs kill + { cat "$pidfile" || true } | xargs -r kill rm -f "$pidfile" } trap cleanup EXIT