summaryrefslogtreecommitdiff
path: root/test/scripts/reload-config.sh
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2017-03-01 17:04:39 +0100
committerMagnus Ahltorp <map@kth.se>2017-03-02 01:09:18 +0100
commite67187c38e4e5a97ab971554d8acf9466e9775c2 (patch)
tree5d7bad771d815f00a2df57433423b9398a82a19b /test/scripts/reload-config.sh
parent163fdaeaf8fc1bc43923420309ba4a6b3ef51e11 (diff)
Refactor tests
Diffstat (limited to 'test/scripts/reload-config.sh')
-rwxr-xr-xtest/scripts/reload-config.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/scripts/reload-config.sh b/test/scripts/reload-config.sh
new file mode 100755
index 0000000..7dbeebe
--- /dev/null
+++ b/test/scripts/reload-config.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -o nounset
+set -o errexit
+
+top_srcdir=$(cd $(dirname $0)/../..; pwd)
+
+. ${top_srcdir}/test/scripts/testutils.sh
+
+${top_srcdir}/tools/compileconfig.py --config=catlfish-test-generated.cfg --testshellvars=${top_srcdir}/test/test.shvars
+
+for node in ${NODES}; do
+ ${top_srcdir}/tools/getconfig.sh machine/${node}/catlfish-test-local-${node}.cfg machine/${node}/catlfish-test.cfg ${node}.plopcontrol
+done