chiark
/
gitweb
/
~ian
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63969fe
)
test: Slurp test-example/sites.conf and paste it in
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 23:20:42 +0000
(
00:20
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 24 Oct 2019 18:16:14 +0000
(19:16 +0100)
This will enable us to edit this common config.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/common.tcl
patch
|
blob
|
history
diff --git
a/test/common.tcl
b/test/common.tcl
index 3a2e1ae39194f64d7f46e20f60fd23ab019cdbcd..cac5bfda4c885a69582a893c17fc0ee3085327f1 100644
(file)
--- 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