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
d35f4a15
Commit
d35f4a15
authored
Nov 02, 2015
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zdtm.py: Print more info when maps compare fails
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
69f6a479
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
zdtm.py
test/zdtm.py
+8
-0
No files found.
test/zdtm.py
View file @
d35f4a15
...
@@ -607,6 +607,14 @@ def check_visible_state(test, state):
...
@@ -607,6 +607,14 @@ def check_visible_state(test, state):
if
cmp_lists
(
new
[
0
],
state
[
0
]):
if
cmp_lists
(
new
[
0
],
state
[
0
]):
raise
test_fail_exc
(
"fds compare"
)
raise
test_fail_exc
(
"fds compare"
)
if
cmp_lists
(
new
[
1
],
state
[
1
]):
if
cmp_lists
(
new
[
1
],
state
[
1
]):
s_new
=
set
(
new
[
1
])
s_old
=
set
(
state
[
1
])
print
"Old maps lost:"
print
s_old
-
s_new
print
"New maps appeared:"
print
s_new
-
s_old
raise
test_fail_exc
(
"maps compare"
)
raise
test_fail_exc
(
"maps compare"
)
def
do_run_test
(
tname
,
tdesc
,
flavs
,
opts
):
def
do_run_test
(
tname
,
tdesc
,
flavs
,
opts
):
...
...
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