samples: bpf: relax test_maps check
authorAlexei Starovoitov <ast@plumgrid.com>
Fri, 23 Jan 2015 01:11:09 +0000 (17:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2015 01:20:40 +0000 (17:20 -0800)
commitba1a68bf1308a71a07d2462f4c38c242e08f92ba
tree05f6de4541734b82240629d9a21cb3df1b83d7ef
parent8ebe667c41e054384df19f2f382bc415badfaee1
samples: bpf: relax test_maps check

hash map is unordered, so get_next_key() iterator shouldn't
rely on particular order of elements. So relax this test.

Fixes: ffb65f27a155 ("bpf: add a testsuite for eBPF maps")
Reported-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/test_maps.c