Skip to content

Commit b041a18

Browse files
committed
Temporarily disable calls to getgrnam/getgrnam_r in test due to it hitting unrelated issues in EGLIBC 2.19.
llvm-svn: 353594
1 parent 344968f commit b041a18

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler-rt/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc

+4-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ int main(int argc, const char *argv[]) {
7272
test<passwd>(&getpwuid, 0);
7373
test<passwd>(&getpwnam, "root");
7474
test<group>(&getgrgid, 0);
75-
test<group>(&getgrnam, any_group.c_str());
75+
// Disable this test for now since it seems to hit a bug in EGLIBC 2.19
76+
//test<group>(&getgrnam, any_group.c_str());
7677

7778
#if !defined(__ANDROID__)
7879
setpwent();
@@ -91,7 +92,8 @@ int main(int argc, const char *argv[]) {
9192
test_r<passwd>(&getpwnam_r, "root");
9293

9394
test_r<group>(&getgrgid_r, 0);
94-
test_r<group>(&getgrnam_r, any_group.c_str());
95+
// Disable this test for now since it seems to hit a bug in EGLIBC 2.19
96+
//test_r<group>(&getgrnam_r, any_group.c_str());
9597

9698
#if defined(__linux__)
9799
auto pwd_file = [] {

0 commit comments

Comments
 (0)