chiark / gitweb /
changelog: start 0.6.8
[secnet.git] / mtest / t-userv
index a3843e08f00f08bfa6d94a85185e4e24c4b8f4d7..5ff7155a0bca62db330c289f27218090dd9625a0 100755 (executable)
@@ -1,4 +1,8 @@
 #! /usr/bin/tclsh
+# This file is part of secnet.
+# See LICENCE and this file CREDITS for full list of copyright holders.
+# SPDX-License-Identifier: GPL-3.0-or-later
+# There is NO WARRANTY.
 
 source mtest/common.tcl
 
@@ -55,3 +59,12 @@ if {![catch {
 eval run-mss $tmp/out.sites >$tmp/out.conf
 
 diff-mss-sites-conf mtest/e-userv.conf $tmp/out.conf
+
+#----- works without group in `location' line -----
+
+set testgf $tmp/Ginside.no-group
+
+exec sed < mtest/Ginside.sites > $testgf {/^location / s/ root$//}
+
+set testargs [lreplace $good end end $testgf]
+eval run-mss-userv $testargs