Files
mgmt/test/shell/sema-2.sh
James Shubin 88498695ac test: Add a semaphore shell test
This test tests new language features and as a fan in-out graph.
2019-01-17 19:21:56 -05:00

9 lines
309 B
Bash
Executable File

#!/bin/bash -e
# should take at least 55s, but fail if we block this
# TODO: it would be nice to make sure this test doesn't exit too early!
$timeout --kill-after=120s 110s "$MGMT" run --converged-timeout=5 --no-watch --no-pgp --tmp-prefix lang --lang sema-2.mcl &
pid=$!
wait $pid # get exit status
exit $?