Searched refs:CHECK_STR (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | hashmap.c | 271 #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() 283 CHECK_STR("hashmap__update", old_value, "apricot"); 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() 299 CHECK_STR("hashmap__update", old_value, "breadfruit"); 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() [all …]
|