]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - tools/testing/selftests/user/test_user_copy.sh
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-kernels.git] / tools / testing / selftests / user / test_user_copy.sh
CommitLineData
3c25fa14 1#!/bin/sh
b2441318 2# SPDX-License-Identifier: GPL-2.0
3c25fa14
SK
3# Runs copy_to/from_user infrastructure using test_user_copy kernel module
4
5if /sbin/modprobe -q test_user_copy; then
6 /sbin/modprobe -q -r test_user_copy
7 echo "user_copy: ok"
8else
9 echo "user_copy: [FAIL]"
10 exit 1
11fi