Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+8 -6
+1 -1
Documentation/Makefile
··· 1 1 subdir-y := accounting auxdisplay blackfin \ 2 - filesystems filesystems ia64 laptops mic misc-devices \ 2 + ia64 laptops mic misc-devices \ 3 3 networking pcmcia prctl ptp timers vDSO watchdog
Documentation/filesystems/.gitignore tools/testing/selftests/filesystems/.gitignore
-5
Documentation/filesystems/Makefile
··· 1 - # List of programs to build 2 - hostprogs-y := dnotify_test 3 - 4 - # Tell kbuild to always build the programs 5 - always := $(hostprogs-y)
Documentation/filesystems/dnotify_test.c tools/testing/selftests/filesystems/dnotify_test.c
+7
tools/testing/selftests/filesystems/Makefile
··· 1 + TEST_PROGS := dnotify_test 2 + all: $(TEST_PROGS) 3 + 4 + include ../lib.mk 5 + 6 + clean: 7 + rm -fr $(TEST_PROGS)