summaryrefslogtreecommitdiff
path: root/test/scripts/reload-config.sh
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-03-09 15:17:58 +0100
committerLinus Nordberg <linus@nordu.net>2017-03-09 15:17:58 +0100
commit863ef44a16759501c7ce939e93bf2891a552b2e3 (patch)
tree0fc28971759e60a044425d6d3f45ccfb596ed2e0 /test/scripts/reload-config.sh
parent221c6771035d7a3c1e0441a46248a44ca2e99077 (diff)
parenta08cb72fa60bdb11873a2409c3b5aa8ff2b4667d (diff)
Merge remote-tracking branch 'refs/remotes/map/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