summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mount/Makefile
blob: 9093d7ffe87f158e2f1f72d68e791e23afdcac40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Makefile for mount selftests.
CFLAGS = -Wall \
         -O2

TEST_GEN_PROGS := unprivileged-remount-test

include ../lib.mk

override RUN_TESTS := if [ -f /proc/self/uid_map ] ; \
		      then	\
				./unprivileged-remount-test ; \
		      else	\
				echo "WARN: No /proc/self/uid_map exist, test skipped." ; \
		      fi
override EMIT_TESTS := echo "$(RUN_TESTS)"