summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2021-02-16 01:37:16 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 01:37:16 +0000
commit5f8783f62f967d689e29c2fe5de5ffc3ce11c47e (patch)
tree057703ebbe470ba34f6a57e18cb7bbf93c5e6e45
parenteefa6bab10c984fc12b179a01831d9de29260c77 (diff)
parent34260a55311e06dd96543c00449575c9391de900 (diff)
downloadtests-5f8783f62f967d689e29c2fe5de5ffc3ce11c47e.tar.gz
net-test: remove spurious skipUnless am: b816683401 am: a0d5f9edab am: 34260a5531
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589551 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I61d8767621af091e2ff3b6268d12f827697f537f
-rwxr-xr-xnet/test/bpf_test.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/test/bpf_test.py b/net/test/bpf_test.py
index 693e1d4..30e8e49 100755
--- a/net/test/bpf_test.py
+++ b/net/test/bpf_test.py
@@ -219,8 +219,6 @@ class BpfTest(net_test.NetworkTest):
self.assertRaisesErrno(errno.EPERM, UpdateMap, self.map_fd, key, value)
self.assertRaisesErrno(errno.ENOENT, LookupMap, self.map_fd, key)
- @unittest.skipUnless(HAVE_EBPF_ACCOUNTING,
- "BPF helper function is not fully supported")
def testWrOnlyMap(self):
self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE,
TOTAL_ENTRIES, map_flags=BPF_F_WRONLY)
@@ -263,8 +261,6 @@ class BpfTest(net_test.NetworkTest):
SocketUDPLoopBack(packet_count, 6, self.prog_fd)
self.assertEqual(packet_count * 2, LookupMap(self.map_fd, key).value)
- @unittest.skipUnless(HAVE_EBPF_ACCOUNTING,
- "BPF helper function is not fully supported")
def testGetSocketCookie(self):
self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE,
TOTAL_ENTRIES)
@@ -287,8 +283,6 @@ class BpfTest(net_test.NetworkTest):
PacketCountByCookie(4)
PacketCountByCookie(6)
- @unittest.skipUnless(HAVE_EBPF_ACCOUNTING,
- "BPF helper function is not fully supported")
def testGetSocketUid(self):
self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE,
TOTAL_ENTRIES)