[lxc-devel] [PATCH] tests: Fix cleanup in lxc-test-unpriv

Stéphane Graber stgraber at ubuntu.com
Fri Jan 24 01:09:31 UTC 2014


Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 src/tests/lxc-test-unpriv | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/lxc-test-unpriv b/src/tests/lxc-test-unpriv
index ff2a44a..1e75eea 100755
--- a/src/tests/lxc-test-unpriv
+++ b/src/tests/lxc-test-unpriv
@@ -34,7 +34,7 @@ cleanup() {
 	run_cmd lxc-stop -n c1 -k
 	pkill -u $(id -u $TUSER) -9
 
-	sed -i '/usernic-user/d' /var/run/lxc/nics /etc/lxc/lxc-usernet
+	sed -i '/lxcunpriv/d' /var/run/lxc/nics /etc/lxc/lxc-usernet
 	sed -i '/^lxcunpriv:/d' /etc/subuid /etc/subgid
 
 	rm -Rf $HDIR /run/user/$(id -u $TUSER)
-- 
1.8.5.3



More information about the lxc-devel mailing list