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

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