The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1337
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 9c50a5260f6356895e4e8a4fcae25b26a44a3c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Thu, 1 Dec 2016 18:34:00 -0500 Subject: [PATCH] tests; Don't cause test failures on cleanup errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- src/tests/lxc-test-usernic.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/lxc-test-usernic.in b/src/tests/lxc-test-usernic.in index 42a9a21..0b99baa 100755 --- a/src/tests/lxc-test-usernic.in +++ b/src/tests/lxc-test-usernic.in @@ -28,9 +28,9 @@ KNOWN_RELEASES="precise trusty xenial yakkety zesty" LXC_USER_NIC="@LIBEXECDIR@/lxc/lxc-user-nic" cleanup() { - ( - set +e + set +e + ( lxc-stop -n usernic-c1 -k lxc-destroy -n usernic-c1
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel