summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/wic.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index dd3207528e..a569fbf747 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -276,16 +276,3 @@ class Wic(oeSelfTest):
status, output = qemu.run_serial(command)
self.assertEqual(1, status, 'Failed to run command "%s": %s' % (command, output))
self.assertEqual(output, '/dev/root /\r\n/dev/vda3 /mnt')
-
- def test_sparseness(self):
- """Test that assembled images are sparse; apparent size > disk usage"""
- self.assertEqual(0, runCmd("wic create directdisk "
- "--image-name core-image-minimal").status)
- images = glob(self.resultdir + "directdisk-*.direct")
- self.assertEqual(1, len(images))
-
- imagestat = os.stat(images.pop())
- # st_blocks is the "number of 512-byte blocks allocated for file"
- used = imagestat.st_blocks*512
- apparent = imagestat.st_size
- self.assertLess(used, apparent)