Commit 1b060e14 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

app-test: java -- Use --shell-job option

Since we support tty migration, use it here,
otherwise it'll fail.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent fd19a1fc
...@@ -19,14 +19,14 @@ pid=${!} ...@@ -19,14 +19,14 @@ pid=${!}
echo Lanuched java application with pid $pid in background echo Lanuched java application with pid $pid in background
${crtools} dump -D dump -o dump.log -v 4 -t ${pid} || { ${crtools} dump -D dump -o dump.log -v 4 --shell-job -t ${pid} || {
echo "Dump failed" echo "Dump failed"
exit 1 exit 1
} }
echo "Dumped, restoring and waiting for completion" echo "Dumped, restoring and waiting for completion"
${crtools} restore -D dump -o restore.log -v 4 -t ${pid} || { ${crtools} restore -D dump -o restore.log -v 4 --shell-job -t ${pid} || {
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