OSDN Git Service

tests: try harder to clean up scsi_debug
authorPhillip Susi <phillsusi@gmail.com>
Tue, 3 Jan 2012 01:12:42 +0000 (20:12 -0500)
committerJim Meyering <meyering@redhat.com>
Tue, 3 Jan 2012 08:19:29 +0000 (09:19 +0100)
commit9caea81516d829fcf41d594b937d86f132b21554
treef8f50a60bbb28a85b935c9c8761441dd5481a7ce
parent8b4fbd60e8713407b6a78b66d5dfd0f5f7cee9a3
tests: try harder to clean up scsi_debug

Tests were failing because the previous test gave up while trying to
unload the scsi_debug module.  Try longer to remove it, and then throw
in a call to udevadm settle for good measure.
* tests/t-local.sh: Try harder to release resources here, rather than...
* tests/t9040-many-partitions.sh: ...in this one test.
* tests/t-local.sh (require_scsi_debug_module_): Now that
cleanup requires "udevadm settle", add that requirement here:
call require_udevadm_settle_.
tests/t-local.sh
tests/t9040-many-partitions.sh