1#!/bin/sh
2# Runs API tests for struct drm_mm (DRM range manager)
3
4if ! /sbin/modprobe -n -q test-drm_mm; then
5       echo "drivers/gpu/drm_mm: [skip]"
6       exit 77
7fi
8
9if /sbin/modprobe -q test-drm_mm; then
10       /sbin/modprobe -q -r test-drm_mm
11       echo "drivers/gpu/drm_mm: ok"
12else
13       echo "drivers/gpu/drm_mm: [FAIL]"
14       exit 1
15fi
16