Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/bpf: correct the check of join cgroup
Use ASSERT_OK_FD to check the return value of join cgroup, or else this test will pass even if the fd < 0. ASSERT_OK_FD can print the error message to the console. Link: https://lore.kernel.org/all/[email protected]/ Suggested-by: Martin KaFai Lau <[email protected]> Signed-off-by: Jason Xing <[email protected]>
- Loading branch information