blob: e094f71c6dbc4a24a2cdc7612c9e5511378fee36 [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0
# 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)"