1#!/usr/bin/env bash 2# Setup, run and teardown e2e test suite in containers. 3set -eu -o pipefail 4 5engine_host=$(./scripts/test/e2e/run setup) 6testexit=0 7 8test_cmd="test" 9if [ -n "${TEST_DEBUG-}" ]; then 10 test_cmd="shell" 11fi 12 13./scripts/test/e2e/run "$test_cmd" "$engine_host" || testexit="$?" 14 15./scripts/test/e2e/run cleanup 16exit "$testexit"