1 # Makefile for mount selftests.
4 all: unprivileged-remount-test
6 unprivileged-remount-test
: unprivileged-remount-test.c
7 $(CC
) $(CFLAGS
) unprivileged-remount-test.c
-o unprivileged-remount-test
11 TEST_PROGS
:= unprivileged-remount-test
12 override RUN_TESTS
:= if
[ -f
/proc
/self
/uid_map
] ; \
14 .
/unprivileged-remount-test
; \
16 echo
"WARN: No /proc/self/uid_map exist, test skipped." ; \
18 override EMIT_TESTS
:= echo
"$(RUN_TESTS)"
21 rm -f unprivileged-remount-test