[PATCH openEuler-22.09 v2 104/391] selftests/bpf: Add unit tests for pointers in global functions