Kees Cook | 3e2a4c1 | 2014-01-23 15:54:38 -0800 | [diff] [blame^] | 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 |