summaryrefslogtreecommitdiff
path: root/test/scripts/light-system-test-start.sh
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-01-24 09:16:28 +0100
committerLinus Nordberg <linus@nordu.net>2017-02-01 11:24:28 +0100
commitb7b8903b6a7c3342933b9984afa72fb6527b5f72 (patch)
treefc92bfb8b1dccd1dca3f24cba98cf3ea540687bc /test/scripts/light-system-test-start.sh
parentc0d8aceccb0961a25ee58a163441bbcbe6d6ea3d (diff)
Parallelised merge, distribution phase.
Diffstat (limited to 'test/scripts/light-system-test-start.sh')
-rwxr-xr-xtest/scripts/light-system-test-start.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/scripts/light-system-test-start.sh b/test/scripts/light-system-test-start.sh
index 1623d7e..4520945 100755
--- a/test/scripts/light-system-test-start.sh
+++ b/test/scripts/light-system-test-start.sh
@@ -7,8 +7,15 @@ top_srcdir=$(cd $(dirname $0)/../..; pwd)
. ${top_srcdir}/test/scripts/testutils.sh
+start_node() {
+ node=$1
+ node_app=$2
+ ../bin/run_erl -daemon nodes/${node}/ nodes/${node}/log/ \
+ "exec ../bin/erl -boot ${node_app} -config ${node}"
+}
+
for node in ${ERLANGNODES}; do
- (../bin/run_erl -daemon nodes/${node}/ nodes/${node}/log/ "exec ../bin/erl -config ${node}")
+ start_node $(echo $node | tr ':' ' ')
done
for i in 1 2 3 4 5 6 7 8 9 10; do
echo "waiting for system to start"