chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96167a
)
mtest/t-userv: Check lack of optional group in fragment
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 10 Mar 2020 18:30:30 +0000
(18:30 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 10 Mar 2020 18:31:32 +0000
(18:31 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
mtest/t-userv
patch
|
blob
|
history
diff --git
a/mtest/t-userv
b/mtest/t-userv
index a3843e08f00f08bfa6d94a85185e4e24c4b8f4d7..87d97b0e707321fba0344f088dcc6afc04781649 100755
(executable)
--- a/
mtest/t-userv
+++ b/
mtest/t-userv
@@
-55,3
+55,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