commit | 55ab87aa4937f562e6952c5b88e90eae6eca41c4 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Tue May 31 03:15:12 2022 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Tue May 31 07:35:03 2022 -0700 |
tree | 3261ffdeb83e4ee0537ba12be7bcfa3efd655c6a | |
parent | 875daa69eb4d60d2bf6a3b7b9bd81eb3089ceafd [diff] |
simplify bpf tests and check type correctness We notice that: BpfMap.reset(dupFd_with_cloexec(BpfMap.getMap()) is equivalent to BpfMap = BpfMap due to the current implementation of the BpfMap assignment operator. Except the latter also verifies BpfMap<K,V> template types match. Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I99fcf77bc6aa360b6a19e22c2cd58d67a1e62976