You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
11 lines
248 B
Bash
11 lines
248 B
Bash
|
|
#!/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
|