Commit be663b00 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

test/crit-recode: skip images with zero size

Now we have many tests with the crfail flags. When criu dump fails,
criu may create image files, but doesn't fill them.

Reported-by: Mr Jenkins
Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 877558fc
...@@ -5,7 +5,7 @@ import sys ...@@ -5,7 +5,7 @@ import sys
import os import os
import subprocess import subprocess
find = subprocess.Popen(['find', 'test/dump/', '-name', '*.img'], find = subprocess.Popen(['find', 'test/dump/', '-size', '+0', '-name', '*.img'],
stdout = subprocess.PIPE) stdout = subprocess.PIPE)
test_pass = True test_pass = True
......
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