blob: 06931dfd3ef066fe4f222e9de5c5842829a14e58 [file] [log] [blame]
Eric W. Biedermandb181ce2014-07-29 15:50:44 -07001# Makefile for mount selftests.
2
3all: unprivileged-remount-test
4
5unprivileged-remount-test: unprivileged-remount-test.c
6 gcc -Wall -O2 unprivileged-remount-test.c -o unprivileged-remount-test
7
Michael Ellerman5e29a912015-03-11 15:05:59 +11008include ../lib.mk
Eric W. Biedermandb181ce2014-07-29 15:50:44 -07009
Michael Ellerman5e29a912015-03-11 15:05:59 +110010override RUN_TESTS := if [ -f /proc/self/uid_map ] ; then ./unprivileged-remount-test ; fi
Eric W. Biedermandb181ce2014-07-29 15:50:44 -070011
12clean:
13 rm -f unprivileged-remount-test