[test][sanitizer] Fix REQUIRES of the test
authorVitaly Buka <vitalybuka@google.com>
Wed, 10 Aug 2022 23:58:47 +0000 (16:58 -0700)
committerVitaly Buka <vitalybuka@google.com>
Wed, 10 Aug 2022 23:59:40 +0000 (16:59 -0700)
getnetent is availible from API 28

compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp

index 0c3a464..5a17b56 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clangxx -O0 -g %s -o %t
 //
-// REQUIRES: linux || freebsd
+// REQUIRES: (linux && !android) || freebsd || android-28
 
 #include <inttypes.h>
 #include <netdb.h>