chiark
/
gitweb
/
~ian
/
userv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f8df0e
)
autopkgtests: Banners in the test script
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 26 Dec 2021 00:41:46 +0000
(
00:41
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 26 Dec 2021 01:05:06 +0000
(
01:05
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/t-config
patch
|
blob
|
history
diff --git
a/tests/t-config
b/tests/t-config
index aad650176d36794f0ca5ccfb839889bbf0954a3b..b4ed7f3406b7162b33ed470b9869a5033f72620b 100755
(executable)
--- a/
tests/t-config
+++ b/
tests/t-config
@@
-23,6
+23,8
@@
fi
bin_uid=$(id -u bin)
bin_gid=$(id -g bin)
+: '---------- test service invocation ----------'
+
really -u bin \
userv games userv-t-env >"$tmp"/env
@@
-36,8
+38,11
@@
for expect in \
egrep "^$expect\$" "$tmp"/env
done
+: '---------- test rejection (wrong calling user) ----------'
+
expect_output 255 '' \
really -u daemon \
userv games userv-t-env
+
echo ok.