Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
. tests/lib
(
- cat >/etc/userv/services.d/userv-t-config <<END
+ cat >/etc/userv/services.d/userv-t-env <<END
if ( glob calling-user bin
& glob service-user games
)
bin_gid=$(id -g bin)
really -u bin \
-userv games userv-t-config >"$tmp"/env
+userv games userv-t-env >"$tmp"/env
for expect in \
- 'USERV_SERVICE=userv-t-config' \
+ 'USERV_SERVICE=userv-t-env' \
'USERV_USER=bin' \
'USERV_GROUP=bin bin' \
"USERV_UID=$bin_uid" \
expect_output 255 '' \
really -u daemon \
-userv games userv-t-config
+userv games userv-t-env
echo ok.