Skip to content

Commit de19c8f

Browse files
rename passing test
1 parent dc1b243 commit de19c8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/passing_tests/vmlinux/xdp_pass.py renamed to tests/passing_tests/vmlinux/simple_struct_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
# Instructions to how to run this program
88
# 1. Install PythonBPF: pip install pythonbpf
9-
# 2. Run the program: python examples/xdp_pass.py
10-
# 3. Run the program with sudo: sudo tools/check.sh run examples/xdp_pass.o
11-
# 4. Attach object file to any network device with something like ./check.sh xdp examples/xdp_pass.o tailscale0
9+
# 2. Run the program: python examples/simple_struct_test.py
10+
# 3. Run the program with sudo: sudo tools/check.sh run examples/simple_struct_test.o
11+
# 4. Attach object file to any network device with something like ./check.sh run examples/simple_struct_test.o tailscale0
1212
# 5. send traffic through the device and observe effects
1313
@bpf
1414
@section("tracepoint/syscalls/sys_enter_execve")
@@ -23,5 +23,5 @@ def LICENSE() -> str:
2323
return "GPL"
2424

2525

26-
compile_to_ir("xdp_pass.py", "xdp_pass.ll")
26+
compile_to_ir("simple_struct_test.py", "simple_struct_test.ll")
2727
compile()

0 commit comments

Comments
 (0)