mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
8e5305f630
This is somewhat tricky - for test suite we keep using 'set -e -o pipefail' - the effect here is - we get error report from any 'failing' command in whole pipeline - thus when something like this: 'lvs | head -1' is used - and 'head' finishes before lead 'lvs' is done - it recieves SIGPIPE and exits with error, and somewhat misleading gets occasionally reported depending of speed of commands. For this case we have to avoid using standard pipes and rather switch to using streamed results with temporary output file. This is all nicely handled with bash feature '< <()'. For more info: https://stackoverflow.com/questions/41516177/bash-zcat-head-causes-pipefail |
||
---|---|---|
.. | ||
aux.sh | ||
brick-shelltest.h | ||
check.sh | ||
flavour-ndev-cluster-lvmpolld.sh | ||
flavour-ndev-cluster.sh | ||
flavour-ndev-lvmetad-lvmpolld.sh | ||
flavour-ndev-lvmetad.sh | ||
flavour-ndev-lvmpolld.sh | ||
flavour-ndev-vanilla.sh | ||
flavour-udev-cluster-lvmpolld.sh | ||
flavour-udev-cluster.sh | ||
flavour-udev-lvmetad-lvmpolld.sh | ||
flavour-udev-lvmetad.sh | ||
flavour-udev-lvmlockd-dlm.sh | ||
flavour-udev-lvmlockd-sanlock.sh | ||
flavour-udev-lvmlockd-test.sh | ||
flavour-udev-lvmpolld.sh | ||
flavour-udev-vanilla.sh | ||
get.sh | ||
harness.c | ||
inittest.sh | ||
lvm-wrapper.sh | ||
mke2fs.conf | ||
not.c | ||
runner.cpp | ||
test-corosync-conf | ||
test-dlm-conf | ||
test-sanlock-conf | ||
utils.sh |