Commit 47faeca6 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

test: app-emu -- Use new -v syntax

We've slightly updated -v option argument parsing,
thus update cmdline used in a few app-emu tests.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1b2c3e69
...@@ -21,7 +21,7 @@ pid=${!} ...@@ -21,7 +21,7 @@ pid=${!}
echo Lanuched java application with pid $pid in background echo Lanuched java application with pid $pid in background
${criu} dump -D dump -o dump.log -v 4 --shell-job -t ${pid} || { ${criu} dump -D dump -o dump.log -v4 --shell-job -t ${pid} || {
echo "Dump failed" echo "Dump failed"
exit 1 exit 1
} }
...@@ -30,7 +30,7 @@ wait_tasks dump ...@@ -30,7 +30,7 @@ wait_tasks dump
echo "Dumped, restoring and waiting for completion" echo "Dumped, restoring and waiting for completion"
${criu} restore -D dump -o restore.log -v 4 --shell-job || { ${criu} restore -D dump -o restore.log -v4 --shell-job || {
echo "Restore failed" echo "Restore failed"
exit 1 exit 1
} }
......
...@@ -14,7 +14,7 @@ echo PID=$pid ...@@ -14,7 +14,7 @@ echo PID=$pid
mkdir dump mkdir dump
${criu} dump -D dump -o dump.log -v 4 -t ${pid} || { ${criu} dump -D dump -o dump.log -v4 -t ${pid} || {
echo "Dump failed" echo "Dump failed"
exit 1 exit 1
} }
...@@ -23,7 +23,7 @@ wait_tasks dump ...@@ -23,7 +23,7 @@ wait_tasks dump
echo "Dumped, restoring and waiting for completion" echo "Dumped, restoring and waiting for completion"
${criu} restore -d -D dump -o restore.log -v 4 || { ${criu} restore -d -D dump -o restore.log -v4 || {
echo "Restore failed" echo "Restore failed"
exit 1 exit 1
} }
......
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