2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

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: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Andrew Vagin 2016-06-15 20:44:00 +03:00 committed by Pavel Emelyanov
parent 877558fc8c
commit be663b002d

View File

@ -5,7 +5,7 @@ import sys
import os
import subprocess
find = subprocess.Popen(['find', 'test/dump/', '-name', '*.img'],
find = subprocess.Popen(['find', 'test/dump/', '-size', '+0', '-name', '*.img'],
stdout = subprocess.PIPE)
test_pass = True