summaryrefslogtreecommitdiff
path: root/test/scripts/light-system-test-stop.sh
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-01-27 16:35:21 +0100
committerLinus Nordberg <linus@nordu.net>2017-01-30 09:54:08 +0100
commit2e54755b9afacdb2d001b7ad4a81a8a23b6f43e0 (patch)
treeb258faa94aaf6115dda8dc5117c443b2d5e8d6df /test/scripts/light-system-test-stop.sh
parent6df4a9012f03af16779ae4172831367881b4090b (diff)
Parallelised merge, distribution phase.
Diffstat (limited to 'test/scripts/light-system-test-stop.sh')
-rwxr-xr-xtest/scripts/light-system-test-stop.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/scripts/light-system-test-stop.sh b/test/scripts/light-system-test-stop.sh
index 575ef38..0bf4374 100755
--- a/test/scripts/light-system-test-stop.sh
+++ b/test/scripts/light-system-test-stop.sh
@@ -7,6 +7,11 @@ top_srcdir=$(cd $(dirname $0)/../..; pwd)
. ${top_srcdir}/test/scripts/testutils.sh
-for node in ${ERLANGNODES}; do
+stop_node() {
+ node=$1
${top_srcdir}/tools/to_catlfish.py to_erl nodes/${node}/ "init:stop()"
+}
+
+for node in ${ERLANGNODES}; do
+ stop_node $(echo $node | tr ':' ' ')
done