1 #!/bin/sh 1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0 << 3 # Runs hardware independent tests for i915 (dr 2 # Runs hardware independent tests for i915 (drivers/gpu/drm/i915) 4 3 5 if ! /sbin/modprobe -q -r i915; then 4 if ! /sbin/modprobe -q -r i915; then 6 echo "drivers/gpu/i915: [SKIP]" 5 echo "drivers/gpu/i915: [SKIP]" 7 exit 77 6 exit 77 8 fi 7 fi 9 8 10 if /sbin/modprobe -q i915 mock_selftests=-1; t 9 if /sbin/modprobe -q i915 mock_selftests=-1; then 11 /sbin/modprobe -q -r i915 << 12 echo "drivers/gpu/i915: ok" 10 echo "drivers/gpu/i915: ok" 13 else 11 else 14 echo "drivers/gpu/i915: [FAIL]" 12 echo "drivers/gpu/i915: [FAIL]" 15 exit 1 13 exit 1 16 fi 14 fi
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.