1
0
mirror of https://github.com/coreos/ignition.git synced 2026-02-06 18:47:54 +01:00
Files
ignition/tests/positive/filesystems
Benjamin Gilbert 38fe499cb9 tests: port to xfsprogs 5.19+
mkfs.xfs >= 5.19.0 refuses to create filesystems smaller than 300 MB
unless --unsupported is specified or some environment variables are set.
Apply workarounds for each affected test:

filesystem.create.multipledisks: Doesn't need XFS.  Switch to ext4.

filesystem.create.zfs.xfs: Must use XFS and must use an existing test
fixture that has a small partition.  Rather than reworking the fixture,
add --unsupported to storage.filesystems.options.

filesystem.create.xfs.wipe: The available default partitions are too
small.  Ideally we'd resize one, but I haven't researched whether there
are implications for other tests.  Just use --unsupported for now.

The use of --unsupported breaks the blackbox tests on xfsprogs < 5.19.
That doesn't affect CoreOS CI, but may affect anyone running them manually
on older systems.

Fixes https://github.com/coreos/ignition/issues/1583.
2023-03-25 03:24:26 -04:00
..
2023-03-25 03:24:26 -04:00