Commit f2adcc41 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

test/app-emu: add options --shell-job

[xemul: s/-j/--shell-job/g]
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent c19cbc5c
...@@ -30,14 +30,14 @@ pid=${!} ...@@ -30,14 +30,14 @@ pid=${!}
echo Lanuched make in $pid background echo Lanuched make in $pid background
sleep 2 sleep 2
${crtools} dump -D dump -o dump.log -v 4 -t ${pid} || { ${crtools} dump --shell-job -D dump -o dump.log -v 4 -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 --shell-job -D dump -o restore.log -v 4 -t ${pid} || {
echo "Restore failed" echo "Restore failed"
exit 1 exit 1
} }
......
...@@ -45,14 +45,14 @@ pid=${!} ...@@ -45,14 +45,14 @@ pid=${!}
echo "Started tar in $pid background" echo "Started tar in $pid background"
sleep 3 sleep 3
${crtools} dump -D dump -o dump.log -v 4 -t ${pid} || { ${crtools} dump --shell-job -D dump -o dump.log -v 4 -t ${pid} || {
echo "Dump failed" echo "Dump failed"
exit 1 exit 1
} }
echo "Dump OK, restoring" echo "Dump OK, restoring"
${crtools} restore -D dump -o restore.log -v 4 -t ${pid} || { ${crtools} restore --shell-job -D dump -o restore.log -v 4 -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