OSDN Git Service

Make the socketDestroy tests use a fake tun interface.
authorLorenzo Colitti <lorenzo@google.com>
Wed, 27 Jul 2016 13:10:49 +0000 (22:10 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Thu, 28 Jul 2016 07:34:38 +0000 (16:34 +0900)
commit549a0f705849d0a1dcf9de38cbe54edad4a83cd9
tree25050198648599b3e003dcd0f0709ec7a1991733
parent212c405c296ed869eda927e683734aff80248872
Make the socketDestroy tests use a fake tun interface.

On real devices, we often don't want to destroy sockets that
are on loopback. This CL makes our integration tests use
sockets that don't look like they're on loopback, making it
possible to test code that does not destroy sockets that are
on loopback.

Bug: 30186506
Change-Id: I1ea56f069f528f25dddd5898b2269a638318f820
tests/Android.mk
tests/binder_test.cpp