summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2016-07-11 17:26:35 -0700
committerAlex Vakulenko <avakulenko@google.com>2016-08-23 21:26:37 +0000
commit766275e7f697c30164678e1fed55b2a2fcbf8546 (patch)
tree2a751cd67b4e9c6ab83fdce7bb8799aa0ae4bd0b /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent8bbcc61b54cf8ce95c4bbae7db7883442b7d1fd9 (diff)
Fix pty.bug_28979140 test in Bionic
The test relies on the fact/assumes that CPU 0 is available to the test process. This is not necessarily the case. Instead of allocating CPU 0 to the main thread, find the first available CPU and use that instead. BUG=b/29991929 TEST=All Bionic unit tests pass Change-Id: I36b311cdba57112d663d652757fd5114183fc780
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions