28 lines
782 B
Diff
28 lines
782 B
Diff
From 7f5693e0b7bfa64129f9218de863757075f2fff7 Mon Sep 17 00:00:00 2001
|
|
From: Martin Kletzander <mkletzan@redhat.com>
|
|
Date: Wed, 7 Jul 2021 12:06:38 +0200
|
|
Subject: [PATCH] info: Require can_cache for info-can.sh
|
|
|
|
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
|
|
(cherry picked from commit 65cdf7354b8e4dd6db7dd31fa4321bea1d43650d)
|
|
---
|
|
info/info-can.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/info/info-can.sh b/info/info-can.sh
|
|
index 4154e38..00ba981 100755
|
|
--- a/info/info-can.sh
|
|
+++ b/info/info-can.sh
|
|
@@ -22,7 +22,7 @@ set -e
|
|
set -x
|
|
|
|
requires nbdkit --version
|
|
-requires nbdkit sh --version
|
|
+requires bash -c "nbdkit sh --dump-config | grep has_can_cache=1"
|
|
|
|
# --is read-only and --can write are tested in info-is-read-only.sh
|
|
|
|
--
|
|
2.31.1
|
|
|