diff options
author | Ruediger Meier | 2016-10-21 13:01:55 +0200 |
---|---|---|
committer | Ruediger Meier | 2016-10-21 15:08:49 +0200 |
commit | 5c711ba9453d46815b3c0ec677893a4a6f34d3bd (patch) | |
tree | a93d43859df367d64f982b7930343236b74afcc0 /tests/ts/fdisk/align-512-4K-md | |
parent | getopt: be sure that options array is terminated (diff) | |
download | kernel-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/fdisk/align-512-4K-md')
-rwxr-xr-x | tests/ts/fdisk/align-512-4K-md | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/ts/fdisk/align-512-4K-md b/tests/ts/fdisk/align-512-4K-md index 11a67699b..04c3df68e 100755 --- a/tests/ts/fdisk/align-512-4K-md +++ b/tests/ts/fdisk/align-512-4K-md @@ -87,9 +87,6 @@ cat /sys/block/${MD_DEVNAME}/${MD_DEVNAME}p{1,2}/alignment_offset >> $TS_OUTPUT mdadm -q -S ${MD_DEVICE} >> $TS_OUTPUT 2>&1 -udevadm settle -rmmod scsi_debug - ts_fdisk_clean $TS_DEVICE ts_fdisk_clean $MD_DEVICE |