summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2021-02-16 01:00:54 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 01:00:54 +0000
commit34260a55311e06dd96543c00449575c9391de900 (patch)
tree057703ebbe470ba34f6a57e18cb7bbf93c5e6e45
parent27557440be900c650f720180f215393987524b29 (diff)
parenta0d5f9edab93d01652ee1cdee1458d28b2aa15bf (diff)
downloadtests-34260a55311e06dd96543c00449575c9391de900.tar.gz
net-test: remove spurious skipUnless am: b816683401 am: a0d5f9edab
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1589551 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ieda519845d7a7c3d7a412708868c118df4e78a65
-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)