summaryrefslogtreecommitdiff
path: root/tests/chutney/teardown.sh
blob: 60e27fa137c79da19cbf51ef304292c78940d9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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"