[Libguestfs] [libnbd PATCH v2 1/2] info: Require can_cache for info-can.sh

Martin Kletzander mkletzan at redhat.com
Tue Jul 27 11:31:04 UTC 2021


Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 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 4154e38e85ba..00ba98107a29 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.32.0




More information about the Libguestfs mailing list