From cc626c38f7de8f316f0b682387f58d8249dc537f Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Fri, 3 Oct 2025 17:13:02 +0530 Subject: [PATCH] Move binops1 to tests/passing --- tests/passing_tests/binops.py | 2 +- tests/{failing_tests => passing_tests}/binops1.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) rename tests/{failing_tests => passing_tests}/binops1.py (72%) 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