chiark / gitweb /
changelog: start 0.6.8
[secnet.git] / mtest / t-prefix
1 #! /usr/bin/tclsh
2 # This file is part of secnet.
3 # See LICENCE and this file CREDITS for full list of copyright holders.
4 # SPDX-License-Identifier: GPL-3.0-or-later
5 # There is NO WARRANTY.
6
7 source mtest/common.tcl
8
9 run-mss -Ppprefix --no-conf-key-prefix --pubkeys-elide test-example/sites $tmp/out.conf
10
11 diff  mtest/e-basic.conf $tmp/out.conf \
12     "sed -e 's/vpn/pprefixvpn/g; s/^all-sites/pprefix&/' | $seddery" \
13     $seddery