]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: don't use unlocked resources
authorRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 7 Mar 2018 16:51:35 +0000 (17:51 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 7 Mar 2018 18:11:36 +0000 (19:11 +0100)
commitb0d9114a6160b23a65c545a4cd65cfba45c493ff
tree3c071729a4f012a814cc6c202284c36559483932
parent613a337ed4ce87f8ec34c88857a86a1ea6556cb5
tests: don't use unlocked resources

The test-suite did not survive when flock timeouts after 30s because
then ts_cleanup_on_exit() may use resources (e.g. rmmod scsi_debug)
while not having the lock.

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