scst regression tests: Unload the scst kernel module explicitly

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7013 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-10-21 21:21:29 +00:00
parent b561c5a43d
commit 7c4b50692c
2 changed files with 4 additions and 2 deletions
@@ -17,7 +17,8 @@ if ($> == 0) {
"modprobe -r ib_srpt; " .
"modprobe -r qla2x00tgt; " .
"modprobe -r qla2xxx_scst; " .
"modprobe -r scst_vdisk"), 0);
"modprobe -r scst_vdisk; " .
"modprobe -r scst"), 0);
ok(!(-d "/sys/module/scst"));
@@ -15,7 +15,8 @@ if ($> == 0) {
"modprobe -r ib_srpt; " .
"modprobe -r qla2x00tgt; " .
"modprobe -r qla2xxx_scst; " .
"modprobe -r scst_vdisk"), 0);
"modprobe -r scst_vdisk; " .
"modprobe -r scst"), 0);
ok(!(-d "/sys/module/scst"));
} else {
ok(1);