The Samba-Bugzilla – Attachment 11442 Details for
Bug 11512
Linking smbtorture: undefined symbol getgrouplist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't test getgrouplist if we do not have it
file_11512.txt (text/plain), 963 bytes, created by
Tom Schulz
on 2015-09-15 17:20:20 UTC
(
hide
)
Description:
Don't test getgrouplist if we do not have it
Filename:
MIME Type:
Creator:
Tom Schulz
Created:
2015-09-15 17:20:20 UTC
Size:
963 bytes
patch
obsolete
>--- a/source4/torture/local/nss_tests.c Tue Jul 21 05:47:50 2015 >+++ b/source4/torture/local/nss_tests.c Tue Sep 15 12:06:59 2015 >@@ -690,6 +690,7 @@ > return true; > } > >+#ifdef HAVE_GETGROUPLIST > static bool test_getgrouplist(struct torture_context *tctx, > const char *user, > gid_t gid, >@@ -724,6 +725,7 @@ > > return true; > } >+#endif /* HAVE_GETGROUPLIST */ > > static bool test_user_in_group(struct torture_context *tctx, > const struct passwd *pwd, >@@ -751,12 +753,14 @@ > int g, i; > bool primary_group_had_user_member = false; > >+#ifdef HAVE_GETGROUPLIST > torture_assert(tctx, test_getgrouplist(tctx, > pwd->pw_name, > pwd->pw_gid, > &user_groups, > &num_user_groups), > "failed to test getgrouplist"); >+#endif /* HAVE_GETGROUPLIST */ > > for (g=0; g < num_user_groups; g++) { > torture_assert(tctx, test_getgrgid(tctx, user_groups[g], NULL),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
slow
:
review+
Actions:
View
Attachments on
bug 11512
:
11442
|
11479
|
11501