mirror of
https://github.com/genuinetools/reg.git
synced 2024-10-03 22:01:45 -04:00
843aebf2c1
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
17 lines
346 B
Bash
Executable file
17 lines
346 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Setup, run and teardown e2e test suite in containers.
|
|
set -eu -o pipefail
|
|
|
|
engine_host=$(./scripts/test/e2e/run setup)
|
|
testexit=0
|
|
|
|
|
|
test_cmd="test"
|
|
if [[ -n "${TEST_DEBUG-}" ]]; then
|
|
test_cmd="shell"
|
|
fi
|
|
|
|
./scripts/test/e2e/run "$test_cmd" "$engine_host" || testexit="$?"
|
|
|
|
./scripts/test/e2e/run cleanup
|
|
exit "$testexit"
|