projects
/
releases.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
GNU Linux-libre 4.14.313-gnu1
[releases.git]
/
tools
/
testing
/
selftests
/
lib
/
bitmap.sh
1
#!/bin/sh
2
# SPDX-License-Identifier: GPL-2.0
3
# Runs bitmap infrastructure tests using test_bitmap kernel module
4
if ! /sbin/modprobe -q -n test_bitmap; then
5
echo "bitmap: [SKIP]"
6
exit 77
7
fi
8
9
if /sbin/modprobe -q test_bitmap; then
10
/sbin/modprobe -q -r test_bitmap
11
echo "bitmap: ok"
12
else
13
echo "bitmap: [FAIL]"
14
exit 1
15
fi