summaryrefslogtreecommitdiff
path: root/tests/chutney/teardown
blob: 9331e04c4c28fbc0251188c18764a451f6a13c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
set -xeuo pipefail

cd "$(git rev-parse --show-toplevel)"

# Tell shellcheck that yes, we know that we're sourcing a file.
# shellcheck disable=SC1091
source tests/chutney/arti.run

# Validate that these are set (from arti.run)
[ -n "${target:?}" ]
[ -n "${chutney_bin:?}" ]

"${chutney_bin}" stop "$target"