1#!/bin/sh 2# Runs hardware independent tests for i915 (drivers/gpu/drm/i915) 3 4if ! /sbin/modprobe -q -r i915; then 5 echo "drivers/gpu/i915: [SKIP]" 6 exit 77 7fi 8 9if /sbin/modprobe -q i915 mock_selftests=-1; then 10 echo "drivers/gpu/i915: ok" 11else 12 echo "drivers/gpu/i915: [FAIL]" 13 exit 1 14fi 15