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
2076a160
Commit
2076a160
authored
Sep 01, 2016
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zdtmpy: Fix flake8 warnings
Signed-off-by:
Pavel Emelyanov
<
xemul@virtuozzo.com
>
parent
7df7d9bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
zdtm.py
test/zdtm.py
+3
-2
No files found.
test/zdtm.py
View file @
2076a160
...
...
@@ -20,7 +20,6 @@ import fcntl
import
errno
import
datetime
import
yaml
import
socket
import
criu
as
crpc
os
.
chdir
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
...
...
@@ -679,6 +678,7 @@ class criu_cli:
cr
=
subprocess
.
Popen
(
strace
+
[
criu_bin
,
action
]
+
args
,
env
=
env
,
preexec_fn
=
preexec
)
return
cr
.
wait
()
class
criu_rpc
:
@staticmethod
def
__set_opts
(
criu
,
args
,
ctx
):
...
...
@@ -730,7 +730,7 @@ class criu_rpc:
if
action
==
'dump'
:
criu
.
dump
()
elif
action
==
'restore'
:
if
not
ctx
.
has_key
(
'rd'
)
:
if
'rd'
not
in
ctx
:
raise
test_fail_exc
(
'RPC Non-detached restore is impossible'
)
res
=
criu
.
restore
()
...
...
@@ -745,6 +745,7 @@ class criu_rpc:
os
.
close
(
imgd
)
return
0
class
criu
:
def
__init__
(
self
,
opts
):
self
.
__test
=
None
...
...
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