[CRIU] [PATCH 2/3] test: app-emu -- job: Fix comparison

Cyrill Gorcunov gorcunov at openvz.org
Mon May 6 15:34:32 EDT 2013


On Mon, May 06, 2013 at 11:18:57PM +0400, Andrey Wagin wrote:
>    On May 6, 2013 7:13 PM, "Cyrill Gorcunov" <gorcunov at openvz.org> wrote:
>    >
>    > Since we're migrating session leader here,
>    > test for session has not been changed instead.
> 
>    In this case the test doesn't wait c/r. I don't like when sleep is used
>    for synchronization instead of sending a signal.

It does wait. Maybe in somehow weird way (ie by sleeps) but still. The main
expect script writes pid

	system ../../../crtools dump -v 4 -D ./dump -o dump.log -j -t $pid
	system echo "$pid" > ./dump/pid.pid

once dump complete, then restore stage initiated.


More information about the CRIU mailing list