All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: master - tests: check for cache_version that supports v2
Date: Tue,  8 Sep 2020 22:03:43 +0000 (GMT)	[thread overview]
Message-ID: <20200908220343.DC24F385702B@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8dea63d30fd336051ec549d96c70abef6a9bfdec
Commit:        8dea63d30fd336051ec549d96c70abef6a9bfdec
Parent:        ce5ea07411d57a2bd276d8d29e46ce30b957f657
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Fri Sep 4 20:35:55 2020 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Tue Sep 8 21:23:03 2020 +0200

tests: check for cache_version that supports v2

---
 test/shell/cache-single-split.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/shell/cache-single-split.sh b/test/shell/cache-single-split.sh
index 7fc17867c..a6deb0dc9 100644
--- a/test/shell/cache-single-split.sh
+++ b/test/shell/cache-single-split.sh
@@ -48,6 +48,11 @@ mount_umount()
 aux have_cache 1 10 0 || skip
 which mkfs.xfs || skip
 
+case $(cache_check -V) in
+# support for v2 starts with version 0.7
+0.[0..6]*) skip 'At least version 0.7 of cache_check tool is needed.' ;;
+esac
+
 mount_dir="mnt"
 mkdir -p "$mount_dir"
 



                 reply	other threads:[~2020-09-08 22:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200908220343.DC24F385702B@sourceware.org \
    --to=zkabelac@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.