aboutsummaryrefslogblamecommitdiffstats
path: root/tools/testing/selftests/mount/Makefile
blob: a5b367f032ba094c5fc818ea3072230c3db9a564 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                              
                 
 
                                       
                                                                                          
                                          


                                       
# Makefile for mount selftests.

all: unprivileged-remount-test

unprivileged-remount-test: unprivileged-remount-test.c
	gcc -Wall -O2 unprivileged-remount-test.c -o unprivileged-remount-test

include ../lib.mk

TEST_PROGS := unprivileged-remount-test
override RUN_TESTS := if [ -f /proc/self/uid_map ] ; then ./unprivileged-remount-test ; fi
override EMIT_TESTS := echo "$(RUN_TESTS)"

clean:
	rm -f unprivileged-remount-test