Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
3d14c71c
Commit
3d14c71c
authored
Jul 01, 2014
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zdtm: Rename $args into $gen_args
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
3b71200c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
zdtm.sh
test/zdtm.sh
+7
-7
No files found.
test/zdtm.sh
View file @
3d14c71c
...
...
@@ -459,7 +459,7 @@ run_test()
test
=
${
ZP
}
/
${
test
#ns/
}
shift
local
args
=
$*
local
gen_
args
=
$*
local
tname
=
`
basename
$test
`
local
tdir
=
`
dirname
$test
`
DUMP_PATH
=
""
...
...
@@ -494,20 +494,20 @@ to ip is written in \$CR_IP_TOOL.
EOF
exit
1
fi
args
=
"--root
$ZDTM_ROOT
--pidfile
$TPID
$
args
"
gen_args
=
"--root
$ZDTM_ROOT
--pidfile
$TPID
$gen_
args
"
fi
if
[
$tname
=
"rtc"
]
;
then
args
=
"
$
args
-L
`
pwd
`
/
$tdir
/lib"
gen_args
=
"
$gen_
args
-L
`
pwd
`
/
$tdir
/lib"
fi
if
[
-n
"
$AUTO_DEDUP
"
]
;
then
args
=
"
$
args
--auto-dedup"
gen_args
=
"
$gen_
args
--auto-dedup"
ps_args
=
"--auto-dedup"
fi
if
echo
$tname
| fgrep
-q
'irmap'
;
then
args
=
"
$
args
--force-irmap"
gen_args
=
"
$gen_
args
--force-irmap"
fi
for
i
in
`
seq
$ITERATIONS
`
;
do
...
...
@@ -546,7 +546,7 @@ EOF
save_fds
$PID
$ddump
/dump.fd
save_maps
$PID
$ddump
/dump.maps
setsid
$CRIU_CPT
$dump_cmd
$opts
--file-locks
--tcp-established
$linkremap
\
-x
--evasive-devices
-D
$ddump
-o
dump.log
-v4
-t
$PID
$args
$snapopt
$postdump
-x
--evasive-devices
-D
$ddump
-o
dump.log
-v4
-t
$PID
$
gen_
args
$snapopt
$postdump
retcode
=
$?
#
...
...
@@ -604,7 +604,7 @@ EOF
done
echo
Restore
setsid
$CRIU
restore
--file-locks
--tcp-established
-x
-D
$ddump
-o
restore.log
-v4
-d
$args
||
return
2
setsid
$CRIU
restore
--file-locks
--tcp-established
-x
-D
$ddump
-o
restore.log
-v4
-d
$
gen_
args
||
return
2
[
-n
"
$PIDNS
"
]
&&
PID
=
`
cat
$TPID
`
for
i
in
`
seq
5
`
;
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment