]> sourceware.org Git - lvm2.git/commit
tests: aux.sh better teardown loop
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 13 Jul 2017 22:27:55 +0000 (00:27 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 13 Jul 2017 22:27:55 +0000 (00:27 +0200)
commite682af78789b34bbcb1706c16f629dfd93915bf9
tree013d645412b43bab4982b8585ab4242ac795dcb3
parentf64f6c5e703e6d3632acf68fa353b71f452bbfc7
tests: aux.sh better teardown loop

We can't really sleep that much in teardown as it slows test too much.
So do a nested loop (similar to 'dmsetup remove_all') and keep
removing devices with open count == 0 as long as it works.
test/lib/aux.sh
This page took 0.036349 seconds and 5 git commands to generate.