[compiler-rt] r353594 - Temporarily disable calls to getgrnam/getgrnam_r in test due to it hitting unrelated issues in EGLIBC 2.19.

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 8 17:28:47 PST 2019


Author: dyung
Date: Fri Feb  8 17:28:47 2019
New Revision: 353594

URL: http://llvm.org/viewvc/llvm-project?rev=353594&view=rev
Log:
Temporarily disable calls to getgrnam/getgrnam_r in test due to it hitting unrelated issues in EGLIBC 2.19.

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc?rev=353594&r1=353593&r2=353594&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpw_getgr.cc Fri Feb  8 17:28:47 2019
@@ -72,7 +72,8 @@ int main(int argc, const char *argv[]) {
   test<passwd>(&getpwuid, 0);
   test<passwd>(&getpwnam, "root");
   test<group>(&getgrgid, 0);
-  test<group>(&getgrnam, any_group.c_str());
+  // Disable this test for now since it seems to hit a bug in EGLIBC 2.19
+  //test<group>(&getgrnam, any_group.c_str());
 
 #if !defined(__ANDROID__)
   setpwent();
@@ -91,7 +92,8 @@ int main(int argc, const char *argv[]) {
   test_r<passwd>(&getpwnam_r, "root");
 
   test_r<group>(&getgrgid_r, 0);
-  test_r<group>(&getgrnam_r, any_group.c_str());
+  // Disable this test for now since it seems to hit a bug in EGLIBC 2.19
+  //test_r<group>(&getgrnam_r, any_group.c_str());
 
 #if defined(__linux__)
   auto pwd_file = [] {




More information about the llvm-commits mailing list