test: Export the mgmt command to be used during test

This commit is contained in:
Johan Bloemberg
2018-02-15 18:58:35 +01:00
committed by James Shubin
parent d99190b166
commit 572b2575c5
28 changed files with 38 additions and 30 deletions

View File

@@ -2,6 +2,12 @@
# common settings and functions for test scripts
# get the fully expanded path of the project directory
ROOT="$(realpath "$(dirname "$(realpath "${BASH_SOURCE}")")/..")"
# absolute location to freshly build binary to be used for testing
export MGMT="$ROOT/mgmt"
if [[ $(uname) == "Darwin" ]] ; then
export timeout="gtimeout"
export mktemp="gmktemp"