selftests: move dnotify_test from Documentation/filesystems

Move dnotify_test.c, Makefile, and .gitignore from Documentation/filesystems
to selftests/filesystems.

Remove filesystems build target from Documentation/Makefile and update
selftests/filesystems/Makefile to work under selftests. dnotify_test will
not be run as part of selftests suite and will not be included in install
targets. It can be built separately for now.

Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:
Shuah Khan 2016-09-13 10:08:36 -06:00
parent c3cb83560d
commit 10924bc644
5 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,3 @@
subdir-y := accounting auxdisplay blackfin \
filesystems filesystems ia64 laptops mic misc-devices \
ia64 laptops mic misc-devices \
networking pcmcia prctl ptp timers vDSO watchdog

View File

@ -1,5 +0,0 @@
# List of programs to build
hostprogs-y := dnotify_test
# Tell kbuild to always build the programs
always := $(hostprogs-y)

View File

@ -0,0 +1,7 @@
TEST_PROGS := dnotify_test
all: $(TEST_PROGS)
include ../lib.mk
clean:
rm -fr $(TEST_PROGS)