blob: b3da3e1589d75c91167cd343505888aa583df3a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env ruby
fork do
exec "mage servers"
end
# Let the servers boot up
sleep 1
test_pid = fork do
exec "mage test"
end
Process.wait(test_pid)
Process.kill('TERM', 0)
|