OSDN Git Service

test_vendor: Use pipe2 to set pipe flags
authorMyles Watson <mylesgw@google.com>
Fri, 16 Dec 2016 16:13:07 +0000 (08:13 -0800)
committerAjay Panicker <apanicke@google.com>
Fri, 16 Dec 2016 18:48:34 +0000 (18:48 +0000)
commit15915b14150e34bc14d0eb1ace0330129f4c9f8e
tree0a45e969a9102cad00dbdc426eeaa536ded3bcdd
parente1fbea969594b78e404a5aa49aff608a7ed81ee6
test_vendor: Use pipe2 to set pipe flags

Simplify the code to fix a typo.  F_SETFD should have been
F_SETFL.

Test: run unit tests

out/host/linux-x86/nativetest/test-vendor_test_host/test-vendor_test_host \
        --gtest_filter=AsyncManagerSocketTest.*

Change-Id: I215381d6e130428acae7d73d80fefc97cbf64651
vendor_libs/test_vendor_lib/src/async_manager.cc