aboutgitcodelistschat:MatrixIRC
path: root/tests/unit/Makefile
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-01-24 17:05:32 +0100
committerAlice Frosi <afrosi@redhat.com>2023-02-15 13:10:01 +0100
commit12d77297b590beb6688e32c142ce13d91e30c51a (patch)
tree464c3390f1e660d5880f9b9bf022e8580af8bc86 /tests/unit/Makefile
parent2a0e9e1d8ebabf71299c7027d4577b5c709d6ea5 (diff)
downloadseitan-12d77297b590beb6688e32c142ce13d91e30c51a.tar
seitan-12d77297b590beb6688e32c142ce13d91e30c51a.tar.gz
seitan-12d77297b590beb6688e32c142ce13d91e30c51a.tar.bz2
seitan-12d77297b590beb6688e32c142ce13d91e30c51a.tar.lz
seitan-12d77297b590beb6688e32c142ce13d91e30c51a.tar.xz
seitan-12d77297b590beb6688e32c142ce13d91e30c51a.tar.zst
seitan-12d77297b590beb6688e32c142ce13d91e30c51a.zip
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 <afrosi@redhat.com>
Diffstat (limited to 'tests/unit/Makefile')
-rw-r--r--tests/unit/Makefile7
1 files changed, 6 insertions, 1 deletions
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