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.
14 lines
334 B
Bash
Executable File
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 $@
|