repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
rtc: rtc-ab-b5ze-s3: add sub-minute alarm support
[linux/fpc-iii.git]
/
tools
/
testing
/
selftests
/
user
/
test_user_copy.sh
blob
350107f40c1d52a9f503bac0b9639d47e6b7e132
1
#!/bin/sh
2
# Runs copy_to/from_user infrastructure using test_user_copy kernel module
3
4
if
/
sbin
/
modprobe
-q
test_user_copy
;
then
5
/
sbin
/
modprobe
-q -r
test_user_copy
6
echo
"user_copy: ok"
7
else
8
echo
"user_copy: [FAIL]"
9
exit
1
10
fi