Skip to contentSkip to conversation

support/testing: fix TestExt4 after ext2fs refactoring

PATCH New Arnout Vandecappelle (Essensium/Mind) 3 participants 3 messages Jul 10, 2017 – Jul 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/testing: fix TestExt4 after ext2fs refactoring

Commit bee9e881a2d3addd6880b39f3e33a7180d0b1eb4 removed the BR2_TARGET_ROOTFS_EXT2_BLOCKS but didn't update TestExt4 that uses (tests) that option.

Convert it to BR2_TARGET_ROOTFS_EXT2_SIZE, using 16M so the M gets tested as well.

---
 support/testing/tests/fs/test_ext.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/fs/test_ext.py +1 -1
index 34321a3995..733c7469f2 100644
@@ -97,7 +97,7 @@ class TestExt4(infra.basetest.BRTest):
 """
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_TARGET_ROOTFS_EXT2_BLOCKS=16384
+BR2_TARGET_ROOTFS_EXT2_SIZE="16M"
 BR2_TARGET_ROOTFS_EXT2_INODES=3000
 BR2_TARGET_ROOTFS_EXT2_RESBLKS=10
 # BR2_TARGET_ROOTFS_TAR is not set
Signature · 1 line
2.13.2
#1 lore raw

PATCH 1/1 support/testing: fix TestExt4 after ext2fs refactoring

Hello,

Quoted 6 lines · Arnout Vandecappelle (Essensium/Mind)

Commit bee9e881a2d3addd6880b39f3e33a7180d0b1eb4 removed the BR2_TARGET_ROOTFS_EXT2_BLOCKS but didn't update TestExt4 that uses (tests) that option.

Convert it to BR2_TARGET_ROOTFS_EXT2_SIZE, using 16M so the M gets tested as well.

http://patchwork.ozlabs.org/patch/788595/
that does not use the M, was applied instead.
Both generate a rootfs with size 16777216 bytes.

Regards,
Ricardo

#2 lore raw

PATCH 1/1 support/testing: fix TestExt4 after ext2fs refactoring

Ricardo, Arnout, All,

On 2017-07-15 00:04 -0300, Ricardo Martincoski spake thusly:

Quoted 11 lines · Arnout Vandecappelle (Essensium/Mind)
Quoted 7 lines

Commit bee9e881a2d3addd6880b39f3e33a7180d0b1eb4 removed the BR2_TARGET_ROOTFS_EXT2_BLOCKS but didn't update TestExt4 that uses (tests) that option.

Convert it to BR2_TARGET_ROOTFS_EXT2_SIZE, using 16M so the M gets tested as well.

http://patchwork.ozlabs.org/patch/788595/
that does not use the M, was applied instead.

Oh, sorry Aernout, I did not notice your patch before sending mine...

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'