The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/4971

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 1e3e5dad6c2947b7310f03dc5237dc02fbb96c10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Thu, 23 Aug 2018 20:51:03 -0400
Subject: [PATCH] tests: Always pass --force to stop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 test/suites/security.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/suites/security.sh b/test/suites/security.sh
index 3fdc63e172..b5bfa06aad 100644
--- a/test/suites/security.sh
+++ b/test/suites/security.sh
@@ -113,14 +113,14 @@ test_security_protection() {
   ensure_has_localhost_remote "${LXD_ADDR}"
 
   lxc launch testimage c1
-  lxc stop c1
+  lxc stop c1 --force
   lxc snapshot c1
   lxc delete c1
 
   lxc profile set default security.protection.delete true
 
   lxc launch testimage c1
-  lxc stop c1
+  lxc stop c1 --force
   lxc snapshot c1
   lxc delete c1/snap0
   ! lxc delete c1
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to