diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-12 12:28:19 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-12 12:28:56 +0100 |
commit | eb63c574cd2b1cb53ef453ad6610efdd9b8f63d9 (patch) | |
tree | e778b82d84800621ac5e8f58e47d0524c35cb311 | |
parent | dcab15929646c972040269f58609d60778ada11f (diff) |
Remove igt/vgem_reload_basic
This is superseded by vgem_basic/unload
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rwxr-xr-x | tests/vgem_reload_basic | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/vgem_reload_basic b/tests/vgem_reload_basic deleted file mode 100755 index 46088fc3..00000000 --- a/tests/vgem_reload_basic +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -# -# Testcase: Reload the vgem module -# -# ... we've broken this way too often :( -# - -SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )" -. $SOURCE_DIR/drm_lib.sh - -function unload() { - /sbin/rmmod vgem - # drm may be used by other devices (nouveau, radeon, udl, etc) - /sbin/rmmod drm &> /dev/null - - if /sbin/lsmod | grep vgem &> /dev/null ; then - echo WARNING: vgem.ko still loaded! - return 1 - fi -} - -unload &> /dev/null - -/sbin/modprobe -q -n vgem || exit $IGT_EXIT_SKIP - -/sbin/modprobe vgem $* || exit $IGT_EXIT_FAILURE -unload || exit $IGT_EXIT_FAILURE |