chiark / gitweb /
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>