diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/imagefeatures.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py index cf2a42aab5..ef2eefa860 100644 --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py | |||
@@ -124,7 +124,7 @@ class ImageFeatures(OESelftestTestCase): | |||
124 | 124 | ||
125 | # check if result image is sparse | 125 | # check if result image is sparse |
126 | image_stat = os.stat(image_path) | 126 | image_stat = os.stat(image_path) |
127 | self.assertTrue(image_stat.st_size > image_stat.st_blocks * 512) | 127 | self.assertGreater(image_stat.st_size, image_stat.st_blocks * 512) |
128 | 128 | ||
129 | # check if the resulting gzip is valid | 129 | # check if the resulting gzip is valid |
130 | self.assertTrue(runCmd('gzip -t %s' % gzip_path)) | 130 | self.assertTrue(runCmd('gzip -t %s' % gzip_path)) |