| 1 | |
| 2 | |
| 3 | |
| 4 |
|
| 5 | if ! /sbin/modprobe -n -q test-drm_mm; then
|
| 6 | echo "drivers/gpu/drm_mm: module test-drm_mm is not found in /lib/modules/`uname -r` [skip]"
|
| 7 | exit 77
|
| 8 | fi
|
| 9 |
|
| 10 | if /sbin/modprobe -q test-drm_mm; then
|
| 11 | /sbin/modprobe -q -r test-drm_mm
|
| 12 | echo "drivers/gpu/drm_mm: ok"
|
| 13 | else
|
| 14 | echo "drivers/gpu/drm_mm: module test-drm_mm could not be removed [FAIL]"
|
| 15 | exit 1
|
| 16 | fi
|