4 tmp="${AUTOPKGTEST_ARTIFACTS}"
5 if [ "x$tmp" = x ]; then
13 local e_status=$1; shift
14 local e_stdout=$1; shift
20 test "$g_status" = "$e_status"
21 test "$g_stdout" = "$e_stdout"
27 cuser_uid=$(id -u $cuser)
28 cuser_gid=$(id -g $cuser)
31 prep_config_t_env () {
34 mkdir -p "$cfgdir"/services.d
35 cat >$cfgdir/services.d/userv-t-env <<END
36 if ( glob calling-user $cuser
37 & glob service-user $suser
44 check_expected_env () {
48 "USERV_SERVICE=userv-t-env" \
50 "USERV_GROUP=$cuser $cuser" \
51 "USERV_UID=$cuser_uid" \
52 "USERV_GID=$cuser_gid $cuser_gid" \
54 egrep "^$expect\$" $got_env