Skip to content

Commit 8b1aa2b

Browse files
committed
Modify tests to use BpfObject instead
1 parent cbe019c commit 8b1aa2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_basic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33

44
def test_main():
55
assert m.__version__ == "0.0.5"
6-
prog = m.BpfProgram("tests/execve2.o")
6+
prog = m.BpfObject("tests/execve2.o")
77
print(prog)
8+
prog.load()
9+
prog.attach_all()

0 commit comments

Comments
 (0)