GNU Linux-libre 4.9.326-gnu1
[releases.git] / tools / testing / selftests / lib / bitmap.sh
1 #!/bin/sh
2 # Runs bitmap infrastructure tests using test_bitmap kernel module
3
4 if /sbin/modprobe -q test_bitmap; then
5         /sbin/modprobe -q -r test_bitmap
6         echo "bitmap: ok"
7 else
8         echo "bitmap: [FAIL]"
9         exit 1
10 fi