Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#!/bin/sh
2# Runs bitmap infrastructure tests using test_bitmap kernel module
3if ! /sbin/modprobe -q -n test_bitmap; then
4 echo "bitmap: [SKIP]"
5 exit 77
6fi
7
8if /sbin/modprobe -q test_bitmap; then
9 /sbin/modprobe -q -r test_bitmap
10 echo "bitmap: ok"
11else
12 echo "bitmap: [FAIL]"
13 exit 1
14fi