[lxc-devel] [lxd/master] test: use $storage_backends variable

brauner on Github lxc-bot at linuxcontainers.org
Wed Jul 26 23:07:09 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170726/4f4305af/attachment.bin>
-------------- next part --------------
From 072d3f7345c2300b42f5d02a0763dc6f4ef7970c Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Thu, 27 Jul 2017 01:06:35 +0200
Subject: [PATCH] test: use $storage_backends variable

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 test/main.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/main.sh b/test/main.sh
index 5bd57de9c..04e9a24ee 100755
--- a/test/main.sh
+++ b/test/main.sh
@@ -60,7 +60,7 @@ available_storage_backends() {
     storage_backends="${storage_backends} ceph"
   fi
 
-  for backend in btrfs lvm zfs; do
+  for backend in $storage_backends; do
     if which $backend >/dev/null 2>&1; then
       backends="$backends $backend"
     fi


More information about the lxc-devel mailing list