]> asedeno.scripts.mit.edu Git - linux.git/blob - tools/testing/selftests/locking/ww_mutex.sh
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / tools / testing / selftests / locking / ww_mutex.sh
1 #!/bin/sh
2 # Runs API tests for struct ww_mutex (Wait/Wound mutexes)
3
4 if /sbin/modprobe -q test-ww_mutex; then
5        /sbin/modprobe -q -r test-ww_mutex
6        echo "locking/ww_mutex: ok"
7 else
8        echo "locking/ww_mutex: [FAIL]"
9        exit 1
10 fi