Commit 5f572e05 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

libcriu: don't use the shell_job option

Signed-off-by: 's avatarAndrew Vagin <avagin@openvz.org>
Acked-by: 's avatarRuslan Kuprieiev <rkuprieiev@cloudlinux.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent b197dbda
...@@ -28,7 +28,7 @@ function run_test { ...@@ -28,7 +28,7 @@ function run_test {
else else
echo "== Test $1" echo "== Test $1"
mkdir wdir/i/$1/ mkdir wdir/i/$1/
if ! ./$1 wdir/s/cs.sk wdir/i/$1/; then if ! setsid ./$1 wdir/s/cs.sk wdir/i/$1/ < /dev/null &>> wdir/i/$1/test.log; then
echo "$1: FAIL" echo "$1: FAIL"
RESULT=1 RESULT=1
fi fi
......
...@@ -97,7 +97,6 @@ static int process_exists(void) ...@@ -97,7 +97,6 @@ static int process_exists(void)
printf("--- Try to restore process which pid is already taken by other process\n"); printf("--- Try to restore process which pid is already taken by other process\n");
get_base_req(); get_base_req();
criu_set_shell_job(true);
criu_set_leave_running(true); criu_set_leave_running(true);
if (criu_dump()) { if (criu_dump()) {
fprintf(stderr, "Self-dump failed"); fprintf(stderr, "Self-dump failed");
......
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