From 676ce4775464dbc2efbcfe09951c55991dc5be3d Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 4 Sep 2020 21:08:32 +0200 Subject: [PATCH] tests: check for writecache being compiled in --- test/shell/cache-single-usage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/shell/cache-single-usage.sh b/test/shell/cache-single-usage.sh index 8936aa3f1..9bc9b67c5 100644 --- a/test/shell/cache-single-usage.sh +++ b/test/shell/cache-single-usage.sh @@ -16,6 +16,9 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest +lvm segtypes 2>/dev/null | grep writecache$ >/dev/null || { + skip 'Writecache is not built-in.' +} aux have_cache 1 10 0 || skip which mkfs.xfs || skip