diff mbox

[3/3,v2] support/test: don't workaround squashfs padding

Message ID d93a18bd0729d35c7b7e3ce7e810d8fbf69af522.1499724881.git.yann.morin.1998@free.fr
State Rejected
Headers show

Commit Message

Yann E. MORIN July 10, 2017, 10:14 p.m. UTC
We now create properly-padded squashfs images, so we need not do it
in the testing infra, In fact, we want to catch such a change as a
regression (the system won't boot).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 support/testing/tests/fs/test_squashfs.py | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/support/testing/tests/fs/test_squashfs.py b/support/testing/tests/fs/test_squashfs.py
index b205b6a55a..228a8179fd 100644
--- a/support/testing/tests/fs/test_squashfs.py
+++ b/support/testing/tests/fs/test_squashfs.py
@@ -23,7 +23,6 @@  BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
         self.assertEqual(out[3], "Compression lz4")
 
         img = os.path.join(self.builddir, "images", "rootfs.squashfs")
-        subprocess.call(["truncate", "-s", "%1M", img])
 
         self.emulator.boot(arch="armv7",
                            kernel="builtin",