mm: rename alloc_pages_exact_node() to __alloc_pages_node()
[linux/fpc-iii.git] / tools / testing / selftests / mount / Makefile
blob5e35c9c50b72bbebcfb9393928bc10a03fb44479
1 # Makefile for mount selftests.
2 CFLAGS = -Wall \
3 -O2
4 all: unprivileged-remount-test
6 unprivileged-remount-test: unprivileged-remount-test.c
7 $(CC) $(CFLAGS) unprivileged-remount-test.c -o unprivileged-remount-test
9 include ../lib.mk
11 TEST_PROGS := unprivileged-remount-test
12 override RUN_TESTS := if [ -f /proc/self/uid_map ] ; \
13 then \
14 ./unprivileged-remount-test ; \
15 else \
16 echo "WARN: No /proc/self/uid_map exist, test skipped." ; \
18 override EMIT_TESTS := echo "$(RUN_TESTS)"
20 clean:
21 rm -f unprivileged-remount-test