[ASan] fix GetFreeBytesTest interface test on 32-bit Linux - delete some assumptions about the behavior of allocator in test code

llvm-svn: 158047
This commit is contained in:
Alexey Samsonov 2012-06-06 06:02:05 +00:00
parent 6fa89b7a06
commit 7fca5ccdae
1 changed files with 0 additions and 6 deletions

View File

@ -152,12 +152,6 @@ TEST(AddressSanitizerInterface, GetFreeBytesTest) {
EXPECT_LT(new_free_bytes, old_free_bytes);
old_free_bytes = new_free_bytes;
}
// Deleting these chunks will move them to quarantine, number of free
// bytes won't increase.
for (i = 0; i < kNumOfChunks; i++) {
free(chunks[i]);
EXPECT_EQ(old_free_bytes, __asan_get_free_bytes());
}
EXPECT_DEATH(DoLargeMallocForGetFreeBytesTestAndDie(), "double-free");
}