chiark / gitweb /
stest: Transfer pubkeys from test-example
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 3 Dec 2019 20:56:42 +0000 (20:56 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:52 +0000 (21:56 +0000)
commit18c4e5eaf4d400ebee86caafe34f18aa5734c3ca
treecd7f706302e8225c307ec4a28f73109024c0cdbb
parent89a9e73a2e8dc17a4e8be63195b56d790126c6fe
stest: Transfer pubkeys from test-example

We are going to have tests which use the peer-keys site config key,
which refers to external key files from a pubkeys directory.  In the
case of stest, these are pubkeys from test-example.

Because secnet may rename files etc. in this directory, we need a
private one per test.  So, for each test, when making the config file,
make a copy of the pubkeys directory.  Of course this means that
directory needs to exist, so mkdir it (and clean it), although the
machinery for populating it doesn't exist yet.

Also, when copying the sites.conf file, adjust references to
test-example to refer to the copy.  (Currently there won't be any such
references.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
.gitignore
stest/common.tcl
test-example/Dir.sd.mk