diff options
| author | Dimitry Ivanov <dimitry@google.com> | 2017-05-25 14:02:03 -0700 |
|---|---|---|
| committer | Dimitry Ivanov <dimitry@google.com> | 2017-05-25 14:27:37 -0700 |
| commit | f008a11ef2ed42d4eb66a55e5ce89748daf674da (patch) | |
| tree | fe92f00eae5acd7e594a6c3bd039e03097d7d866 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | f58179cda5a905f405efac4f116f5205e3b01611 (diff) | |
Relax flaky _SC_AVPHYS_PAGES check in sys_sysinfo_test
The number of available physical pages is not constant and can
potentially change between calls to get_avphys_pages and
sysconf(_SC_AVPHYS_PAGES) calls.
Relax the assert to check that sconf(_SC_AVPHYS_PAGES) <= phys_pages.
Bug: http://b/31502852
Test: build and run bionic-unit-tests
Change-Id: Ibf8873d2151d93239391d2638dfbf055b70cde3a
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
