[lxc-devel] [lxd/master] test: Ensures SR-IOV tests remove all containers

tomponline on Github lxc-bot at linuxcontainers.org
Wed Jul 24 11:16:44 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190724/693be3da/attachment.bin>
-------------- next part --------------
From e961ba6a472f02f0f6ffaaf8cf1eb42cbefec51a Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Wed, 24 Jul 2019 11:56:09 +0100
Subject: [PATCH] test: Ensures SR-IOV tests remove all containers

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
 test/suites/container_devices_nic_sriov.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/suites/container_devices_nic_sriov.sh b/test/suites/container_devices_nic_sriov.sh
index 90a1f818fa..56ee6f7b1a 100644
--- a/test/suites/container_devices_nic_sriov.sh
+++ b/test/suites/container_devices_nic_sriov.sh
@@ -121,5 +121,5 @@ test_container_devices_nic_sriov() {
     false
   fi
 
-  lxc stop -f "${ctName}"
+  lxc delete -f "${ctName}"
 }


More information about the lxc-devel mailing list