• Alex Vakulenko's avatar
    Fix pty.bug_28979140 test in Bionic · e9014474
    Alex Vakulenko authored
    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
    
    (cherrypick of 766275e7.)
    
    Change-Id: I36b311cdba57112d663d652757fd5114183fc780
    e9014474
pty_test.cpp 4.4 KB