2 # @
(#
) Test nss functions are exported from the libnss_winbind.so library
3 # @
(#
) Test there are no external dependencies in the libnss_winbind.so library
5 # We expect the following symbols to be exported
:
7 # _nss_winbind_getgrent_r
8 # _nss_winbind_endgrent
9 # _nss_winbind_endpwent
10 # _nss_winbind_getgrgid_r
11 # _nss_winbind_getgrnam_r
12 # _nss_winbind_getpwent_r
13 # _nss_winbind_getpwnam_r
14 # _nss_winbind_getpwuid_r
15 # _nss_winbind_setgrent
16 # _nss_winbind_setpwent
17 # _nss_winbind_initgroups
19 # This test also has the nice side
-effect of showing
any unresolved symbols
23 load_lib util
-defs.exp
26 simple_compile
"nss_winbind_syms" "-ldl"
28 set output
[util_start
"$srcdir/$subdir/nss_winbind_syms" \
29 "nsswitch/libnss_winbind.so"]
33 if { [regexp
"FAIL:" $output] } {
34 fail
"run nss_winbind_syms"
38 pass
"nss_winbind_syms"
42 file
delete "$srcdir/$subdir/nss_winbind_syms"