mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +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:
committed by
Pavel Emelyanov
parent
877558fc8c
commit
be663b002d
@@ -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
|
||||||
|
Reference in New Issue
Block a user