diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-02 21:37:36 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-03 16:49:24 +1100 |
commit | 6ed361586b323e576fd5536078fe9f2ee7906e61 (patch) | |
tree | 2eac1cb753abdbae19852cea8595557f7f142341 /tools/testing/selftests/powerpc/mm/Makefile | |
parent | 5769beaf180a892c3fea92937954727fb912bded (diff) | |
download | op-kernel-dev-6ed361586b323e576fd5536078fe9f2ee7906e61.zip op-kernel-dev-6ed361586b323e576fd5536078fe9f2ee7906e61.tar.gz |
selftests/powerpc: Add a test of SEGV error behaviour
Add a test case of the error code reported when we take a SEGV on a
mapped but inaccessible area. We broke this recently.
Based on a test case from John Sperbeck <jsperbeck@google.com>.
Acked-by: John Sperbeck <jsperbeck@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/mm/Makefile')
-rw-r--r-- | tools/testing/selftests/powerpc/mm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/mm/Makefile b/tools/testing/selftests/powerpc/mm/Makefile index bf315bc..8ebbe96 100644 --- a/tools/testing/selftests/powerpc/mm/Makefile +++ b/tools/testing/selftests/powerpc/mm/Makefile @@ -2,7 +2,7 @@ noarg: $(MAKE) -C ../ -TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao +TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors TEST_GEN_FILES := tempfile include ../../lib.mk |