Home
last modified time | relevance | path

Searched refs:CHECK_STR (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c271 #define CHECK_STR(fn, var, expected) \ in test_hashmap_ptr_iface() macro
282 CHECK_STR("hashmap__update", old_key, "a"); in test_hashmap_ptr_iface()
292 CHECK_STR("hashmap__set", old_key, "b"); in test_hashmap_ptr_iface()
293 CHECK_STR("hashmap__set", old_value, "banana"); in test_hashmap_ptr_iface()
298 CHECK_STR("hashmap__update", old_key, "b"); in test_hashmap_ptr_iface()
308 CHECK_STR("hashmap__delete", old_key, "c"); in test_hashmap_ptr_iface()
309 CHECK_STR("hashmap__delete", old_value, "cherry"); in test_hashmap_ptr_iface()
312 CHECK_STR("hashmap__find", value, "blueberry"); in test_hashmap_ptr_iface()
324 CHECK_STR("entry", key, "a"); in test_hashmap_ptr_iface()
325 CHECK_STR("entry", value, "apple"); in test_hashmap_ptr_iface()
[all …]