Commit 7059802c by Stéphane Graber

tests: Fix cleanup in lxc-test-unpriv

parent 73d3e090
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment