2 # SPDX-License-Identifier: GPL-2.0
4 # Kselftest framework requirement - SKIP code is 4.
7 # Runs API tests for struct ww_mutex (Wait/Wound mutexes)
8 if ! /sbin
/modprobe
-q -n test-ww_mutex
; then
9 echo "ww_mutex: module test-ww_mutex is not found [SKIP]"
13 if /sbin
/modprobe
-q test-ww_mutex
; then
14 /sbin
/modprobe
-q -r test-ww_mutex
15 echo "locking/ww_mutex: ok"
17 echo "locking/ww_mutex: [FAIL]"