1 # Makefile for mount selftests.
3 all: unprivileged-remount-test
5 unprivileged-remount-test
: unprivileged-remount-test.c
6 gcc
-Wall
-O2 unprivileged-remount-test.c
-o unprivileged-remount-test
8 # Allow specific tests to be selected.
9 test_unprivileged_remount
: unprivileged-remount-test
10 @if
[ -f
/proc
/self
/uid_map
] ; then .
/unprivileged-remount-test
; fi
12 run_tests
: all test_unprivileged_remount
15 rm -f unprivileged-remount-test
17 .PHONY
: all test_unprivileged_remount