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,7 +2,7 @@
# should take 15 seconds for longest resources plus startup time to shutdown
# we don't want the ^C to allow the rest of the graph to continue executing!
$timeout --kill-after=65s 55s ./mgmt run --yaml graph-exit2.yaml --no-watch --no-pgp --tmp-prefix &
$timeout --kill-after=65s 55s "$MGMT" run --yaml graph-exit2.yaml --no-watch --no-pgp --tmp-prefix &
pid=$!
sleep 10s # let the initial resources start to run...
killall -SIGINT mgmt # send ^C to exit mgmt