repo.or.cz
/
cris-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git]
/
tools
/
testing
/
selftests
/
user
/
test_user_copy.sh
blob
d60506fc77f8bcba61f222db0b0df05a38e2e68b
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