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