[msan] Relax gethostbyname_r test condition.
Apparently, its return value depends on the glibc version. llvm-svn: 197390
This commit is contained in:
parent
34dc4811a2
commit
cb98c5f6f0
|
|
@ -1067,7 +1067,6 @@ TEST(MemorySanitizer, gethostbyname_r_bad_host_name) {
|
|||
struct hostent *result;
|
||||
int err;
|
||||
int res = gethostbyname_r("bad-host-name", &he, buf, sizeof(buf), &result, &err);
|
||||
ASSERT_EQ(0, res);
|
||||
ASSERT_EQ((struct hostent *)0, result);
|
||||
EXPECT_NOT_POISONED(err);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue