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, 7 Dec 2019 21:52:07 +0000 (21:52 +0000)
commit06afe51d1b13cccaacb9faea2b4ecc319e757518
treec47c6d4c81ff859cd25f31a09f0ab5619d9019fe
parent100c173603accf78c84a641a799bb256d8731f41
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/Subdir.sd.mk