From: Stéphane Graber Date: Thu, 1 Dec 2016 23:34:00 +0000 (-0500) Subject: tests; Don't cause test failures on cleanup errors X-Git-Tag: lxc-1.0.10~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f58b2c98ae48e197d881f0f5c5ae38307d14c8ab;p=thirdparty%2Flxc.git tests; Don't cause test failures on cleanup errors Signed-off-by: Stéphane Graber --- diff --git a/src/tests/lxc-test-usernic.in b/src/tests/lxc-test-usernic.in index 75dd9844c..a5a6d3496 100755 --- a/src/tests/lxc-test-usernic.in +++ b/src/tests/lxc-test-usernic.in @@ -27,9 +27,9 @@ DONE=0 LXC_USER_NIC="@LIBEXECDIR@/lxc/lxc-user-nic" cleanup() { - ( - set +e + set +e + ( lxc-stop -n usernic-c1 -k lxc-destroy -n usernic-c1