![]() |
|
|||
0001 #!/bin/sh 0002 # SPDX-License-Identifier: GPL-2.0 0003 0004 # Kselftest framework requirement - SKIP code is 4. 0005 ksft_skip=4 0006 0007 # Runs API tests for struct ww_mutex (Wait/Wound mutexes) 0008 if ! /sbin/modprobe -q -n test-ww_mutex; then 0009 echo "ww_mutex: module test-ww_mutex is not found [SKIP]" 0010 exit $ksft_skip 0011 fi 0012 0013 if /sbin/modprobe -q test-ww_mutex; then 0014 /sbin/modprobe -q -r test-ww_mutex 0015 echo "locking/ww_mutex: ok" 0016 else 0017 echo "locking/ww_mutex: [FAIL]" 0018 exit 1 0019 fi
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |