From: Laurence Rowe Date: Fri, 5 Jun 2015 18:23:54 +0000 (-0700) Subject: Wait on correct container name X-Git-Tag: lxc-2.0.0.beta1~231^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da0e298c675005c690769b05b9ed03fe643fd726;p=thirdparty%2Flxc.git Wait on correct container name Signed-off-by: Laurence Rowe --- diff --git a/src/tests/lxc-test-checkpoint-restore b/src/tests/lxc-test-checkpoint-restore index 181b693ba..4c9133916 100755 --- a/src/tests/lxc-test-checkpoint-restore +++ b/src/tests/lxc-test-checkpoint-restore @@ -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