]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: add lock on shared resources (e.g. scsi_debug)
authorKarel Zak <kzak@redhat.com>
Wed, 6 Dec 2017 13:21:38 +0000 (14:21 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Dec 2017 13:21:38 +0000 (14:21 +0100)
commit9deb8c7dfd9b119884543416e4c681cbe21d97b2
tree8d442b0494fbd0faeadd4feb59367d32ab7d34b9
parentcbfa1442761d5b85acd0652f2e7f0e21bf675cd4
tests: add lock on shared resources (e.g. scsi_debug)

The patch enables flock for scsi_debug to avoid collision between
tests. The patch also adds ./run.sh --nolocks to disable this feature.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/functions.sh
tests/run.sh