summaryrefslogtreecommitdiff
path: root/tests/chutney/teardown
blob: 4f918f3b93cbc0f5a0f43b7fc43b9dbe28605369 (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"