summaryrefslogtreecommitdiffstats
path: root/tests/ts/libmount/context
diff options
context:
space:
mode:
authorRuediger Meier2016-10-21 13:01:55 +0200
committerRuediger Meier2016-10-21 15:08:49 +0200
commit5c711ba9453d46815b3c0ec677893a4a6f34d3bd (patch)
treea93d43859df367d64f982b7930343236b74afcc0 /tests/ts/libmount/context
parentgetopt: be sure that options array is terminated (diff)
downloadkernel-qcow2-util-linux-5c711ba9453d46815b3c0ec677893a4a6f34d3bd.tar.gz
kernel-qcow2-util-linux-5c711ba9453d46815b3c0ec677893a4a6f34d3bd.tar.xz
kernel-qcow2-util-linux-5c711ba9453d46815b3c0ec677893a4a6f34d3bd.zip
tests: consolidate rmmod scsi_debug
- auto cleanup on test exit - Add smart timeout: Newer openSUSE systems on OBS failed to rmmod almost always. udevadm settle does not seem to have any affect. - now tests will fail if rmmod fails Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/libmount/context')
-rwxr-xr-xtests/ts/libmount/context2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context
index bcb9534e8..ebb244110 100755
--- a/tests/ts/libmount/context
+++ b/tests/ts/libmount/context
@@ -58,7 +58,6 @@ udevadm settle
grep -q $DEVNAME /proc/partitions
if [ $? -ne 0 ]; then
- rmmod scsi_debug
ts_skip "no partition!"
fi
@@ -157,5 +156,4 @@ $TS_CMD_UMOUNT $TS_NOEXIST
rmdir $TS_NOEXIST
ts_log "...done."
-rmmod scsi_debug
ts_finalize