summaryrefslogtreecommitdiff
path: root/test/scripts/light-system-test-run-5.sh
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2017-02-02 16:08:24 +0100
committerMagnus Ahltorp <map@kth.se>2017-02-02 16:08:24 +0100
commit06a6db0d0dc921527c4667037d7cc9fa000645d5 (patch)
tree3f4ff97960386e7bf69d36ae6b4d34331495a752 /test/scripts/light-system-test-run-5.sh
parentc9f058c7c7984a4443ca302ace4de85d2e5b18fa (diff)
Added tools for getting and generating global configkey-management2
Diffstat (limited to 'test/scripts/light-system-test-run-5.sh')
-rwxr-xr-xtest/scripts/light-system-test-run-5.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/scripts/light-system-test-run-5.sh b/test/scripts/light-system-test-run-5.sh
new file mode 100755
index 0000000..355e179
--- /dev/null
+++ b/test/scripts/light-system-test-run-5.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -o nounset
+set -o errexit
+
+top_srcdir=$(cd $(dirname $0)/../..; pwd)
+
+. ${top_srcdir}/test/scripts/testutils.sh
+
+${top_srcdir}/tools/genconfig.sh ${top_srcdir}/test/catlfish-test.cfg.in privatekeys keys/logkey.pem httpsca/demoCA/cacert.pem ${top_srcdir}/test/logadminkey-private.pem catlfish-test-generated.cfg
+
+for machine in ${MACHINES}; do \
+ ${top_srcdir}/tools/getconfig.sh machine/machine-${machine}/catlfish-test-local-${machine}.cfg machine/machine-${machine}/catlfish-test.cfg frontend-${machine}.plopcontrol
+done
+
+
+do_merge
+check_sth
+
+assert_equal "Tree size" "$(get_treesize)" 9