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
0981f361
Commit
0981f361
authored
Jan 31, 2012
by
Andrey Vagin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zdtm.sh: clean up
parent
795d6457
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
zdtm.sh
test/zdtm.sh
+7
-2
No files found.
test/zdtm.sh
View file @
0981f361
...
@@ -45,19 +45,24 @@ run_test()
...
@@ -45,19 +45,24 @@ run_test()
killall
-9
$tname
killall
-9
$tname
make
-C
$tdir
cleanout
$tname
.pid
make
-C
$tdir
cleanout
$tname
.pid
pid
=
`
cat
$test
.pid
`
pid
=
`
cat
$test
.pid
`
ddump
=
"dump/
$tname
/
$pid
"
ddump
=
"dump/
$tname
/
$pid
"
DUMP_PATH
=
`
pwd
`
"/"
$ddump
DUMP_PATH
=
`
pwd
`
"/"
$ddump
echo
Dump
$pid
mkdir
-p
$ddump
mkdir
-p
$ddump
ls
-l
/proc/
$pid
/fd/
setsid
$CRTOOLS
dump
-D
$ddump
-o
dump.log
-t
$pid
$2
||
return
1
setsid
$CRTOOLS
dump
-D
$ddump
-o
dump.log
-t
$pid
$2
||
return
1
while
:
;
do
while
:
;
do
killall
-9
$tname
&> /dev/null
||
break
;
killall
-9
$tname
&> /dev/null
||
break
;
echo
Waiting...
echo
Waiting...
sleep
1
sleep
1
done
done
echo
Restore
$pid
setsid
$CRTOOLS
restore
-D
$ddump
-o
restore.log
-d
-t
$pid
$2
||
return
2
setsid
$CRTOOLS
restore
-D
$ddump
-o
restore.log
-d
-t
$pid
$2
||
return
2
ls
-l
/proc/
$pid
/fd/
echo
Check results
$pid
make
-C
$tdir
$tname
.out
make
-C
$tdir
$tname
.out
for
i
in
`
seq
50
`
;
do
for
i
in
`
seq
50
`
;
do
test
-f
$test
.out
&&
break
;
test
-f
$test
.out
&&
break
;
...
...
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