mirror of
https://github.com/troglobit/libite.git
synced 2026-10-02 05:42:49 +07:00
By setting `ASROOT=1` in a unit test makefile a test will now run as root, using `sudo -n`. This patch allows us to simplify the pidfilefn() test. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 lines
118 B
Makefile
6 lines
118 B
Makefile
OBJS = pidfile.o chomp.o fexist.o
|
|
ASROOT = 1
|
|
TARGET = clean $(OBJS) pidfilefn.test
|
|
|
|
include rules.mk
|