selftests: move prctl tests from Documentation/prctl
authorShuah Khan <shuahkh@osg.samsung.com>
Tue, 13 Sep 2016 17:13:46 +0000 (11:13 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 20 Sep 2016 15:09:09 +0000 (09:09 -0600)
commit92dd8dd4d07f170db0638a20a8db691262da4e5e
treeef723c0dd5316e51b5e894b9fff7935515f98edd
parent10924bc6448760b355492f05ea414a65d924a72c
selftests: move prctl tests from Documentation/prctl

Move prctl tests from Documentation/prctl to selftests/prctl.

Remove prctl from Makefile to move the test. Update prctl Makefile to work
under selftests. prctl will not be run as part of selftests suite and will
not be included in install targets. They can be built separately for now.

Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Documentation/Makefile
Documentation/prctl/Makefile [deleted file]
tools/testing/selftests/prctl/.gitignore [moved from Documentation/prctl/.gitignore with 100% similarity]
tools/testing/selftests/prctl/Makefile [new file with mode: 0644]
tools/testing/selftests/prctl/disable-tsc-ctxt-sw-stress-test.c [moved from Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c with 100% similarity]
tools/testing/selftests/prctl/disable-tsc-on-off-stress-test.c [moved from Documentation/prctl/disable-tsc-on-off-stress-test.c with 100% similarity]
tools/testing/selftests/prctl/disable-tsc-test.c [moved from Documentation/prctl/disable-tsc-test.c with 100% similarity]