1# Makefile for mount selftests.
2CFLAGS = -Wall \
3         -O2
4
5TEST_GEN_PROGS := unprivileged-remount-test
6
7include ../lib.mk
8
9override RUN_TESTS := if [ -f /proc/self/uid_map ] ; \
10		      then	\
11				./unprivileged-remount-test ; \
12		      else	\
13				echo "WARN: No /proc/self/uid_map exist, test skipped." ; \
14		      fi
15override EMIT_TESTS := echo "$(RUN_TESTS)"
16
17