This allows you to specify a custom prefix, or a tmp prefix which is chosen automatically.
8 lines
225 B
Bash
Executable File
8 lines
225 B
Bash
Executable File
#!/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 --tmp-prefix &
|
|
pid=$!
|
|
wait $pid # get exit status
|
|
exit $?
|