2012-11-01 23:17:31 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#Move to the base folder
|
|
|
|
cd `dirname $0`
|
|
|
|
|
|
|
|
#start etherpad lite
|
2012-11-02 00:21:10 +01:00
|
|
|
../../../bin/run.sh > /dev/null &
|
2012-11-01 23:17:31 +01:00
|
|
|
sleep 10
|
|
|
|
|
|
|
|
#start remote runner
|
|
|
|
node remote_runner.js
|
2012-11-02 00:21:10 +01:00
|
|
|
exit_code=$?
|
2012-11-01 23:17:31 +01:00
|
|
|
|
|
|
|
kill $!
|
2012-11-02 00:21:10 +01:00
|
|
|
kill $(cat /tmp/sauce.pid)
|
|
|
|
sleep 30
|
|
|
|
|
|
|
|
exit $exit_code
|