Files
mgmt/test/shell/t4.sh
James Shubin 276219a691 Run tests with a tmp prefix
This will avoid failures if /var/lib/mgmt/ isn't writable.
2016-08-31 21:55:19 -04:00

8 lines
231 B
Bash
Executable File

#!/bin/bash -e
# should take slightly more than 25s, but fail if we take 35s)
timeout --kill-after=35s 30s ./mgmt run --file t4.yaml --converged-timeout=5 --no-watch --allow-tmp-prefix &
pid=$!
wait $pid # get exit status
exit $?