docs: fix type for web port parameter
[Samba.git] / testsuite / nsswitch / getgrnam.exp
blob92c5b76742eaa4ab4ebbe1b72068c036775f2471
2 # @(#) Test domain groups resolve using getgrnam()
5 load_lib "util-defs.exp"
6 load_lib "compile.exp"
8 # Compile getgrnam.c
10 simple_compile "getgrnam"
12 # Test domain groups
14 set group_list [split [util_start "bin/wbinfo" "-g"] "\n"]
16 verbose $group_list
18 foreach {group} $group_list {
19 set output [util_start "$srcdir/$subdir/getgrnam" "\"$group\"" ""]
21 verbose $output
23 if {[regexp "PASS:" $output]} {
24 pass "getgrnam $group"
25 } else {
26 fail "getgrnam $group"