diff --git a/tests/passing_tests/binops.py b/tests/passing_tests/binops.py index 14c5eef..1fdff54 100644 --- a/tests/passing_tests/binops.py +++ b/tests/passing_tests/binops.py @@ -5,7 +5,7 @@ from ctypes import c_void_p, c_int64 @bpf @section("tracepoint/syscalls/sys_enter_sync") def sometag(ctx: c_void_p) -> c_int64: - a = 1 + 2 + 1 + a = 1 + 2 + 1 + 12 + 13 print(f"{a}") return c_int64(0) diff --git a/tests/failing_tests/binops1.py b/tests/passing_tests/binops1.py similarity index 72% rename from tests/failing_tests/binops1.py rename to tests/passing_tests/binops1.py index a3a06cc..a16158c 100644 --- a/tests/failing_tests/binops1.py +++ b/tests/passing_tests/binops1.py @@ -3,11 +3,12 @@ from ctypes import c_void_p, c_int64 @bpf -@section("sometag1") +@section("tracepoint/syscalls/sys_enter_sync") def sometag(ctx: c_void_p) -> c_int64: b = 1 + 2 a = 1 + b - return c_int64(a) + print(f"{a}") + return c_int64(0) @bpf