From 12d77297b590beb6688e32c142ce13d91e30c51a Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Tue, 24 Jan 2023 17:05:32 +0100 Subject: test: add unit test for act call Tests: - getppid syscall - read syscall without context - opena and read syscalls with a mount namespace Signed-off-by: Alice Frosi --- tests/unit/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/unit/Makefile') diff --git a/tests/unit/Makefile b/tests/unit/Makefile index 3270052..5e7116b 100644 --- a/tests/unit/Makefile +++ b/tests/unit/Makefile @@ -1,5 +1,10 @@ CFLAGS += -lcheck -test: test-filter.c +test: test-filter test-actions +test-filter: test-filter.c $(CC) $(CFLAGS) -o test-filter ../../filter.c ../../disasm.c test-filter.c ./test-filter + +test-actions: test_action_call.c ../../actions.c ../../actions.h + $(CC) $(CFLAGS) -o test-action-call ../../actions.c test_action_call.c + ./test-action-call -- cgit v1.2.3