Files
mgmt/test/shell/libmgmt-change1.sh
James Shubin 18ea05c837 pgraph, resources: Add proper start/stop signals
We need to perform some operations in lock step between graph
transitions. This should help with that!
2017-02-21 18:48:27 -05:00

10 lines
211 B
Bash
Executable File

#!/bin/bash -e
go build libmgmt-change1.go
# this example should change graphs frequently, and then shutdown...
$timeout --kill-after=30s 20s ./libmgmt-change1 &
pid=$!
wait $pid # get exit status
e=$?
exit $e