Files
mgmt/test/shell/sema-2.mcl
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

16 lines
349 B
Plaintext

# fan in-out
exec ["exec1", "exec2", "exec3", "exec4", "exec5", "exec6", "exec7",] {
cmd => "sleep 10s",
shell => "",
timeout => 0,
Meta:sema => ["s:2",],
}
Exec["exec1"] -> Exec["exec4"]
Exec["exec2"] -> Exec["exec4"]
Exec["exec3"] -> Exec["exec4"]
Exec["exec4"] -> Exec["exec5"]
Exec["exec4"] -> Exec["exec6"]
Exec["exec4"] -> Exec["exec7"]