arti/tests/chutney/teardown.sh

17 lines
281 B
Bash
Raw Normal View History

2021-09-28 18:36:00 +01:00
#!/bin/bash
set -xe
cd "$(git rev-parse --show-toplevel)"
source tests/chutney/arti.run
kill -s INT "$pid";
# wait $pid, but $pid was started by a different process
tail --pid="$pid" -f /dev/null
./chutney/chutney stop "$target"
source tests/chutney/arti.run
exit "$result"