xref: /openbmc/linux/tools/testing/selftests/lib/bitmap.sh (revision c51d39010a1bccc9c1294e2d7c00005aefeb2b5c)
1#!/bin/sh
2# Runs bitmap infrastructure tests using test_bitmap kernel module
3
4if /sbin/modprobe -q test_bitmap; then
5	/sbin/modprobe -q -r test_bitmap
6	echo "bitmap: ok"
7else
8	echo "bitmap: [FAIL]"
9	exit 1
10fi
11