nds32: fix build error "relocation truncated to fit: R_NDS32_25_PCREL_RELA" when
[linux-2.6-microblaze.git] / tools / testing / selftests / user / test_user_copy.sh
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # Runs copy_to/from_user infrastructure using test_user_copy kernel module
4
5 if /sbin/modprobe -q test_user_copy; then
6         /sbin/modprobe -q -r test_user_copy
7         echo "user_copy: ok"
8 else
9         echo "user_copy: [FAIL]"
10         exit 1
11 fi