diff options
author | 2023-01-15 16:16:05 +0900 | |
---|---|---|
committer | 2023-01-15 13:32:45 -0800 | |
commit | f20f064e84eb9c9229a7044e30f9b99720a8c2ea (patch) | |
tree | a854809a4c4a57d218cc855dc202dd88bcecee65 /samples/bpf/net_shared.h | |
parent | samples/bpf: ensure ipv6 is enabled before running tests (diff) | |
download | wireguard-linux-f20f064e84eb9c9229a7044e30f9b99720a8c2ea.tar.xz wireguard-linux-f20f064e84eb9c9229a7044e30f9b99720a8c2ea.zip |
samples/bpf: refactor BPF functionality testing scripts
Currently, some test scripts are experiencing minor errors related to
executing tests.
$ sudo ./test_cgrp2_sock.sh
./test_cgrp2_sock.sh: 22: test_cgrp2_sock: not found
This problem occurs because the path to the execution target is not
properly specified. Therefore, this commit solves this problem by
specifying a relative path to its executables. This commit also makes
a concise refactoring of hard-coded BPF program names.
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230115071613.125791-3-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/net_shared.h')
0 files changed, 0 insertions, 0 deletions