Android CTS 11.0 Release 2 (6965179)
net-test: attempt to use namespaces on devices with ADB/TCP
I'm not really sure if a test for tcp/5555 being occupied is a good
test or not as a means of detecting ADB over TCP...
(because what guarantees it's port 5555...)
4.14-based RVC phone (via USB):
$ adb shell lsof | egrep ^adbd | egrep IP
adbd 1372 root 8u IPv6 0t0 37835 TCP []:5037->[]:0 (LISTEN)
5.4 RVC cuttlefish device (via vsock:4:5555):
$ adb shell lsof | egrep ^adbd | egrep IP
adbd 410 root 11u IPv6 0t0 10914 TCP []:5555->[]:0 (LISTEN)
Bug: 149894399
Test: a_test vts_kernel_net_tests (on rvc cuttlefish x86_64)
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I76bba37498ceccc48eb724f5357ec14eed84ae48
Merged-In: I76bba37498ceccc48eb724f5357ec14eed84ae48
2 files changed