bitmap.sh 288 B

1234567891011121314
  1. #!/bin/sh
  2. # Runs bitmap infrastructure tests using test_bitmap kernel module
  3. if ! /sbin/modprobe -q -n test_bitmap; then
  4. echo "bitmap: [SKIP]"
  5. exit 77
  6. fi
  7. if /sbin/modprobe -q test_bitmap; then
  8. /sbin/modprobe -q -r test_bitmap
  9. echo "bitmap: ok"
  10. else
  11. echo "bitmap: [FAIL]"
  12. exit 1
  13. fi