lib: add module support to glob tests
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 24 Feb 2017 23:00:52 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:57 +0000 (17:46 -0800)
commitba95b045e94fe15cace3a7d3a20fbedb2c6a817e
tree12e84736e1adedf5ecfb7931941dd9ebb3698479
parent5fb7f87408f1534f2c3fadb876dc429cca601104
lib: add module support to glob tests

Extract the glob test code into its own source file, to allow to compile
it either to a loadable module, or builtin into the kernel.

Link: http://lkml.kernel.org/r/1483470276-10517-2-git-send-email-geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig
lib/Makefile
lib/glob.c
lib/globtest.c [new file with mode: 0644]