Testing do_remove
Mocking the send_to_char function to check messages to the user. Still doesn't work for act() though. Requires libmocka-dev and libunwind-setjmp0-dev
This commit is contained in:
@@ -8,7 +8,8 @@ ASAN:=n
|
||||
UBSAN:=n
|
||||
EXTENSION:=
|
||||
TEST_ENV:=
|
||||
CFLAGS:=-Wall -Wno-char-subscripts -Wno-unused-but-set-variable
|
||||
CFLAGS:=-Wall -Wno-char-subscripts -Wno-unused-but-set-variable
|
||||
CFLAGS+=-Wl,--wrap=send_to_char,--wrap=vwrite_to_output
|
||||
AGGRESSIVE_WARNINGS=n
|
||||
LIBS:=-lcrypt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user