tests/check-block: Do not run the iotests with old versions of bash
commit0f3231bfb5a9b83895bad52a0c538818f0a8bd6c
authorThomas Huth <thuth@redhat.com>
Fri, 18 Sep 2020 15:35:14 +0000 (18 17:35 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Oct 2020 13:46:40 +0000 (2 15:46 +0200)
treec190580473504ca526e75eaf0ba027e6705bc01f
parent74f2e027663902924a9bd4c88119f27debdb5533
tests/check-block: Do not run the iotests with old versions of bash

macOS is shipped with a very old version of the bash (3.2), which
is currently not suitable for running the iotests anymore (e.g.
it is missing support for "readarray" which is used in the file
tests/qemu-iotests/common.filter). Add a check to skip the iotests
in this case - if someone still wants to run the iotests on macOS,
they can install a newer version from homebrew, for example.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200918153514.330705-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/check-block.sh