[Libguestfs] [PATCH 2/3] tests: btrfs: Don't test --leafsize, and use --nodesize 64K.
Richard W.M. Jones
rjones at redhat.com
Wed Feb 3 17:18:48 UTC 2016
In btrfs-progs 4.4, the --leafsize parameter is deprecated. It's now
just an alias for --nodesize.
On aarch64, --nodesize 4096 does not work because it's smaller than
the page size (64K). Luckily we can test a 64K nodesize on any
platform, so use that instead.
---
generator/actions.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 881ec4e..058f1e6 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -10235,7 +10235,7 @@ replacement
tests = [
InitEmpty, Always, TestRun (
[["part_disk"; "/dev/sda"; "mbr"];
- ["mkfs_btrfs"; "/dev/sda1"; "0"; "268435456"; "single"; "4096"; "test"; "single"; "4096"; "512"]]), []
+ ["mkfs_btrfs"; "/dev/sda1"; "0"; "268435456"; "single"; ""; "test"; "single"; "65536"; "512"]]), []
];
shortdesc = "create a btrfs filesystem";
longdesc = "\
--
2.5.0
More information about the Libguestfs
mailing list