1# Makefile for mount selftests. 2CFLAGS = -Wall \ 3 -O2 4all: unprivileged-remount-test 5 6unprivileged-remount-test: unprivileged-remount-test.c 7 $(CC) $(CFLAGS) unprivileged-remount-test.c -o unprivileged-remount-test 8 9include ../lib.mk 10 11TEST_PROGS := unprivileged-remount-test 12override RUN_TESTS := if [ -f /proc/self/uid_map ] ; then ./unprivileged-remount-test ; fi 13override EMIT_TESTS := echo "$(RUN_TESTS)" 14 15clean: 16 rm -f unprivileged-remount-test 17