Merge pull request #552 from lrowe/patch-1

Wait on correct container name
This commit is contained in:
Stéphane Graber 2015-06-30 15:01:17 -04:00
commit a42989df60

View File

@ -45,7 +45,7 @@ sleep 5s
# The first time this usually fails because CRIU cannot checkpoint things with
# data on a socket.
lxc-checkpoint -n $name -v -s -D /tmp/checkpoint || FAIL "failed checkpointing"
lxc-wait -n u1 -s STOPPED
lxc-wait -n $name -s STOPPED
lxc-checkpoint -n $name -v -r -D /tmp/checkpoint || FAIL "failed restoring"
lxc-stop -n $name -t 1