diff options
author | Magnus Ahltorp <map@kth.se> | 2017-03-01 17:04:39 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2017-03-09 00:50:48 +0100 |
commit | 8367911e8683311cd6521bcf069c8c71620595f8 (patch) | |
tree | 6d95b23a32108c35ba244d7481ca775369cb28e6 /test/scripts/reload-config.sh | |
parent | 221c6771035d7a3c1e0441a46248a44ca2e99077 (diff) |
Refactor tests
Diffstat (limited to 'test/scripts/reload-config.sh')
-rwxr-xr-x | test/scripts/reload-config.sh | 14 |
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 |