selftests/bpf: Fix result check for test_bpf_hash_map
authorDmitrii Dolgov <9erthalion6@gmail.com>
Tue, 10 May 2022 15:52:31 +0000 (17:52 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 10 May 2022 18:20:45 +0000 (11:20 -0700)
commit6b2d16b6579acf63456817fda3bc9bf4a35c6a60
tree1cffa5334e828f9576a41a33c8d8a0f3253c04c7
parent9f88361273082825d9f0d13a543d49f9fa0d44a8
selftests/bpf: Fix result check for test_bpf_hash_map

The original condition looks like a typo, verify the skeleton loading
result instead.

Signed-off-by: Dmitrii Dolgov <9erthalion6@gmail.com>
Link: https://lore.kernel.org/r/20220510155233.9815-3-9erthalion6@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/bpf_iter.c