From 4ea0e215f2868c4631e51d972f5d2decd9bb4f9b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 13 Oct 2019 00:20:42 +0100 Subject: [PATCH] test: Slurp test-example/sites.conf and paste it in This will enable us to edit this common config. Signed-off-by: Ian Jackson --- test/common.tcl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/common.tcl b/test/common.tcl index 3a2e1ae..cac5bfd 100644 --- a/test/common.tcl +++ b/test/common.tcl @@ -88,7 +88,13 @@ exec cat log-events "all"; random randomfile("/dev/urandom",no); transform eax-serpent { }, serpent256-cbc { }; - include test-example/sites.conf + } + + set f [open test-example/sites.conf r] + set sites [read $f] + close $f + append cfg $sites + append cfg { sites map(site,vpn/test-example/all-sites); } return $cfg -- 2.30.2