2 # @
(#
) Test the getent command returns domain
/local users and groups
6 load_lib
"$srcdir/config/env.exp"
7 load_lib
"$srcdir/config/default-nt-names.exp"
13 set output
[util_start
"getent" "passwd" ""]
15 # Test output
for domain users
17 foreach
{user
} $domain_users
{
18 if {![regexp
"$user" $output]} {
19 fail
"getent passwd $user"
21 pass
"getent passwd $user"
29 set output
[util_start
"getent" "group" ""]
31 foreach
{group
} $domain_groups
{
32 if {![regexp
"$group" $output]} {
33 fail
"getent group $group"
35 pass
"getent group $group"