1#!/bin/sh
2# Runs API tests for struct ww_mutex (Wait/Wound mutexes)
3
4if /sbin/modprobe -q test-ww_mutex; then
5       /sbin/modprobe -q -r test-ww_mutex
6       echo "locking/ww_mutex: ok"
7else
8       echo "locking/ww_mutex: [FAIL]"
9       exit 1
10fi
11