License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / tools / testing / selftests / mount / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
db181ce0 2# Makefile for mount selftests.
365ce999
TB
3CFLAGS = -Wall \
4 -O2
db181ce0 5
88baa78d 6TEST_GEN_PROGS := unprivileged-remount-test
7
5e29a910 8include ../lib.mk
db181ce0 9
d0bd7f2a
ZZ
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
32dcfba6 16override EMIT_TESTS := echo "$(RUN_TESTS)"
db181ce0 17