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

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) ===
Image publication no longer shiftfs so publish isn't impacted by the
shifting protection anymore.

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From fde7877d4f30ee97779f8fcb1c65697eafc34a92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Fri, 6 Dec 2019 15:46:34 -0500
Subject: [PATCH] tests: Fix security test on non-shiftfs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Image publication no longer shiftfs so publish isn't impacted by the
shifting protection anymore.

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

diff --git a/test/suites/security.sh b/test/suites/security.sh
index da6acdd4d4..12a7130548 100644
--- a/test/suites/security.sh
+++ b/test/suites/security.sh
@@ -172,7 +172,7 @@ test_security_protection() {
     lxc start c1
     lxc stop c1 --force
 
-    ! lxc publish c1 --alias=protected || false
+    lxc publish c1 --alias=protected
     lxc snapshot c1
     lxc publish c1/snap0 --alias=protected
     lxc image delete protected
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to