From be663b002d9b1a1e3dfffaaf6dba6eaf5eaaa2f3 Mon Sep 17 00:00:00 2001 From: Andrew Vagin Date: Wed, 15 Jun 2016 20:44:00 +0300 Subject: [PATCH] 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 Signed-off-by: Pavel Emelyanov --- test/crit-recode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/crit-recode.py b/test/crit-recode.py index 6e10abb17..27cc61550 100755 --- a/test/crit-recode.py +++ b/test/crit-recode.py @@ -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