[msan] Relax gethostbyname_r test condition.

Apparently, its return value depends on the glibc version.

llvm-svn: 197390
This commit is contained in:
Evgeniy Stepanov 2013-12-16 15:01:31 +00:00
parent 34dc4811a2
commit cb98c5f6f0
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}