]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: ts_scsi_debug_init skip instead of die
authorRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 21 May 2014 23:37:17 +0000 (01:37 +0200)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 26 May 2014 22:06:43 +0000 (00:06 +0200)
commitf80c0d38b9e61b33e358d5d539a0f22676ecb077
tree2d120837ed2717446150960b54e112f1eac16d01
parent574528ed406f1c647853a80a94419cbaba7473e4
tests: ts_scsi_debug_init skip instead of die

If any of these modprobe commands fails then it's not a broken test.
ALso ts_die often does not work correctly from subtests which should
be fixed someday too.

BTW modprobe dry-run (even the real modprobe) is not reliable.
Moreover now we respect blacklisted modules (-b).

This error handling is not only useful to let the test-suite succeed
on broken systems but also to not fail all "scsi_debug tests" after
just one of them failed to umount something.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/functions.sh