New test suite for pam_panic_pw

This commit is contained in:
Bandie committed 2018-09-30 01:40:17 +02:00
1 parent d1412beb45
commit 18a70f2382
3 files changed
+63 -4

No files matched your search

+5 -2
View File
@@ -1,8 +1,11 @@
AM_CFLAGS = -DTEST
bin_PROGRAMS = test
test_SOURCES = ../src/pam_panic/pam_panic_authdevice.c ../src/pam_panic/pam_panic_reject.c test.c
test_LDFLAGS = -lpam -lcunit
test_SOURCES = ../src/pam_panic/pam_panic_authdevice.c ../src/pam_panic/pam_panic_reject.c ../src/pam_panic_pw/pam_panic_pw.c test.c
test_LDFLAGS = -lpam -lcrypt -lcunit
all:
@printf "Running test...\n"
./test
@printf "Cleaning up...\n"
$(RM) ./pwfile