mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user