]> git.ipfire.org Git - people/arne_f/kernel.git/blob - tools/testing/selftests/mount/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / tools / testing / selftests / mount / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for mount selftests.
3 CFLAGS = -Wall \
4 -O2
5
6 TEST_GEN_PROGS := unprivileged-remount-test
7
8 include ../lib.mk
9
10 override 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
16 override EMIT_TESTS := echo "$(RUN_TESTS)"
17