iotests/303: Check for zstd support
commit32911369fee72de1932a1ded714319fe0ecb9d2d
authorHanna Reitz <hreitz@redhat.com>
Wed, 23 Mar 2022 10:55:22 +0000 (23 11:55 +0100)
committerHanna Reitz <hreitz@redhat.com>
Wed, 20 Apr 2022 08:14:08 +0000 (20 10:14 +0200)
treeb31167ffc0e53a8d58e477895167f66f2e598360
parent7253a57007b8dc6ff6c4bdd5106cf8356fcd34e7
iotests/303: Check for zstd support

303 runs two test cases, one of which requires zstd support.
Unfortunately, given that this is not a unittest-style test, we cannot
easily skip that single case, and instead can only skip the whole test.

(Alternatively, we could split this test into a zlib and a zstd part,
but that seems excessive, given that this test is not in auto and thus
likely only run by developers who have zstd support compiled in.)

Fixes: 677e0bae686e7c670a71d1f ("iotest 303: explicit compression type")
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <v.sementsov-og@mail.ru>
Message-Id: <20220323105522.53660-4-hreitz@redhat.com>
tests/qemu-iotests/303