Run tests with a tmp prefix

This will avoid failures if /var/lib/mgmt/ isn't writable.
This commit is contained in:
James Shubin
2016-08-10 08:56:39 -04:00
parent 03c1df98f4
commit 276219a691
7 changed files with 10 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ if env | grep -q -e '^TRAVIS=true$'; then
fi
# run till completion
timeout --kill-after=15s 10s ./mgmt run --file t2.yaml --converged-timeout=5 --no-watch &
timeout --kill-after=15s 10s ./mgmt run --file t2.yaml --converged-timeout=5 --no-watch --allow-tmp-prefix &
pid=$!
wait $pid # get exit status
e=$?