test: check copy_to/from_user boundary validation
[platform/adaptation/renesas_rcar/renesas_kernel.git] / tools / testing / selftests / user / Makefile
1 # Makefile for user memory selftests
2
3 # No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
4 all:
5
6 run_tests: all
7         @if /sbin/modprobe test_user_copy ; then \
8                 rmmod test_user_copy; \
9                 echo "user_copy: ok"; \
10         else \
11                 echo "user_copy: [FAIL]"; \
12                 exit 1; \
13         fi