[NFC][scudo] Re-enable check in the test

It should pass with patched QEMU.
This commit is contained in:
Vitaly Buka 2021-05-28 01:57:55 -07:00
parent 4458e8c4b4
commit a6e5a4b464
1 changed files with 1 additions and 2 deletions

View File

@ -43,8 +43,7 @@ TEST(ScudoCommonTest, SKIP_ON_FUCHSIA(ResidentMemorySize)) {
EXPECT_GT(getResidentMemorySize() - OnStart, Size - Threshold);
releasePagesToOS((uptr)P, 0, Size, &Data);
// FIXME: does not work with QEMU-user.
// EXPECT_LT(getResidentMemorySize() - OnStart, Threshold);
EXPECT_LT(getResidentMemorySize() - OnStart, Threshold);
memset(P, 1, Size);
EXPECT_GT(getResidentMemorySize() - OnStart, Size - Threshold);