Files
mgmt/test/test-integration.sh
James Shubin f3b99b3940 test, integration: Add an integration test framework
This adds an initial implementation of an integration test framework for
writing more complicated tests. In particular this also makes some small
additions to the mgmt core so that testing is easier.
2018-03-13 06:38:21 -04:00

14 lines
334 B
Bash
Executable File

#!/bin/bash
# this file exists to that bash completion for test names works
echo running "$0" "$@"
#ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" # dir!
ROOT=$(dirname "${BASH_SOURCE}")/..
cd "${ROOT}"
. test/util.sh
# this test is handled as a special `go test` test
exec test/test-gotest.sh --integration $@