From 6d68f5cf662673961c50cd4490bfcd11e576aea1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 10 Oct 2019 20:29:10 +0100 Subject: [PATCH] test: Move common config into test script No functional change. This duplicates the example, and we are going to modify/parameterise the copy in "invoke". Signed-off-by: Ian Jackson --- test/invoke | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/test/invoke b/test/invoke index 24e8fca..ef66106 100755 --- a/test/invoke +++ b/test/invoke @@ -51,9 +51,22 @@ proc mkconf {which} { local-key rsa-private(\"test-example/$which.key\"); " append cfg $extra($which) - append cfg " - include test-example/common.conf - " + append cfg { + log logfile { + filename "/dev/tty"; + class "info","notice","warning","error","security","fatal"; + }; + system { + userid "secnet"; + }; + resolver adns { + }; + log-events "all"; + random randomfile("/dev/urandom",no); + transform eax-serpent { }, serpent256-cbc { }; + include test-example/sites.conf + sites map(site,vpn/test-example/all-sites); + } return $cfg } -- 2.30.2