[lxc-devel] [lxd/master] tests: Really fix non-shiftfs security test

stgraber on Github lxc-bot at linuxcontainers.org
Fri Dec 6 23:29:56 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191206/7df63204/attachment.bin>
-------------- next part --------------
From cef4a165ab61eed551ff0a94a2b6389a6d70305a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Fri, 6 Dec 2019 18:29:20 -0500
Subject: [PATCH] tests: Really fix non-shiftfs security test
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/test/suites/security.sh b/test/suites/security.sh
index 12a7130548..b93d52aba9 100644
--- a/test/suites/security.sh
+++ b/test/suites/security.sh
@@ -173,6 +173,8 @@ test_security_protection() {
     lxc stop c1 --force
 
     lxc publish c1 --alias=protected
+    lxc image delete protected
+
     lxc snapshot c1
     lxc publish c1/snap0 --alias=protected
     lxc image delete protected


More information about the lxc-devel mailing list