Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_skb_cgroup_id_user.c117 __u64 actual_ids[NUM_CGROUP_LEVELS], expected_ids[NUM_CGROUP_LEVELS]; in check_ancestor_cgroup_ids() local
122 expected_ids[0] = get_cgroup_id("/.."); /* root cgroup */ in check_ancestor_cgroup_ids()
123 expected_ids[1] = get_cgroup_id(""); in check_ancestor_cgroup_ids()
124 expected_ids[2] = get_cgroup_id(CGROUP_PATH); in check_ancestor_cgroup_ids()
125 expected_ids[3] = 0; /* non-existent cgroup */ in check_ancestor_cgroup_ids()
136 if (actual_ids[level] != expected_ids[level]) { in check_ancestor_cgroup_ids()
138 actual_ids[level], expected_ids[level], level); in check_ancestor_cgroup_ids()
/openbmc/openbmc/poky/bitbake/lib/bs4/tests/
H A Dtest_tree.py1672 def assertSelects(self, selector, expected_ids): argument
1675 expected_ids.sort()
1676 self.assertEqual(expected_ids, el_ids,
1678 selector, ', '.join(expected_ids), ', '.join(el_ids)
1685 for selector, expected_ids in tests:
1686 self.assertSelect(selector, expected_ids)