tests/module_reload: Silence warnings when unloaded shared modules

So long as we spit out critical errors during i915 reload, or detect any
oops the test will do its job.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55040
This commit is contained in:
Chris Wilson 2012-09-18 14:04:58 +01:00
parent 0cedccc844
commit d00f72a01b

View File

@ -23,8 +23,9 @@ rmmod intel_ips &> /dev/null
rmmod i915
#ignore errors in intel-gtt, often built-in
rmmod intel-gtt &> /dev/null
rmmod drm_kms_helper
rmmod drm
# drm may be used by other devices (nouveau, radeon, udl, etc)
rmmod drm_kms_helper &> /dev/null
rmmod drm &> /dev/null
if lsmod | grep i915 &> /dev/null ; then
echo WARNING: i915.ko still loaded!