Sign in
gem5
/
arm
/
linux
/
0f042eea0a4a4fb1b1999784d745a47c0bb2c2f9
/
.
/
tools
/
testing
/
selftests
/
locking
/
ww_mutex.sh
blob: 6905da965f3bdcc75bdc4e0c123e993361a7a8a4 [
file
] [
log
] [
blame
]
#!/bin/sh
# Runs API tests for struct ww_mutex (Wait/Wound mutexes)
if
/
sbin
/
modprobe
-
q test
-
ww_mutex
;
then
/
sbin
/
modprobe
-
q
-
r test
-
ww_mutex
echo
"locking/ww_mutex: ok"
else
echo
"locking/ww_mutex: [FAIL]"
exit
1
fi