chiark / gitweb /
tests: Pass --output-version=1 to make-secnet-sites
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 Dec 2019 11:35:02 +0000 (11:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:53 +0000 (21:56 +0000)
We are going to introduce some new public keys in the sites file but
for now we don't want to change the sites.conf output.  This is what
--output-version is for.

Later we will relegate this to compatibility tests, and make the new
approach the default.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
mtest/t-basic
mtest/t-prefix
test-example/Dir.sd.mk

index ad754c166c588bbb11333cc4d89a12935bff68b9..8f22500fb9c6c2476b44e2cdbf2cff300765d6ec 100755 (executable)
@@ -2,7 +2,7 @@
 
 source mtest/common.tcl
 
-run-mss --no-conf-key-prefix test-example/sites $tmp/out.conf
+run-mss --no-conf-key-prefix --output-version=1 test-example/sites $tmp/out.conf
 
 set seddery { sed -n 's/^[ \t]*//; /^[^#]/p' }
 diff  mtest/e-basic.conf $tmp/out.conf $seddery
index 98a92669d517334b65b1f23f29168221a6efc7d8..ee9938db0da20a5783aeb4e5487f289b056cdc70 100755 (executable)
@@ -2,7 +2,7 @@
 
 source mtest/common.tcl
 
-run-mss -Ppprefix --no-conf-key-prefix test-example/sites $tmp/out.conf
+run-mss -Ppprefix --no-conf-key-prefix --output-version=1 test-example/sites $tmp/out.conf
 
 diff  mtest/e-basic.conf $tmp/out.conf \
     "sed -e 's/vpn/pprefixvpn/g; s/^all-sites/pprefix&/' | $seddery" \
index 763e1690ce47c12d259f20b26fc50014ad48aa9b..4e0a1347c4fb418d57b4bf23c79464c91e9f3325 100644 (file)
@@ -7,7 +7,7 @@ include common.make
 
 &sites.conf: $(src)/make-secnet-sites &^/sites &/Dir.mk
        mkdir -p &pubkeys
-       $(src)/make-secnet-sites &^/sites $@
+       $(src)/make-secnet-sites --output-version=1 &^/sites $@
 
 &clean::
        rm -rf &pubkeys