Skip to content

multiple test fixes #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 20, 2025
Merged

multiple test fixes #306

merged 4 commits into from
Jun 20, 2025

Conversation

michaelolbrich
Copy link
Member

Fixes for test failures on architectures other than x86_64. See #299 (comment)

…able

20000101000000 was copied from the ext tests. But that's not in seconds
since the Epoch but YYYYMMDDHHMMSS.
Change the value to the correct timestamp and update the dump files
accordingly.
This should also fix the test for architectures without support for
64-bit timestamps.

Signed-off-by: Michael Olbrich <[email protected]>
By default, mkfs.erofs will use the page size as block size. This breaks
the test for architectures with a different page size.
Unfortunately, older versions of mkfs.erofs don't support setting the
block size. So conditionally use a different config for newer versions.
That way, the test will at least succeed with the new version.

Signed-off-by: Michael Olbrich <[email protected]>
On some architectures (e.g. Aarch64), the compress rate is 'nan' instead
of '-nan'. Normalize the output to 'nan' for all.

Signed-off-by: Michael Olbrich <[email protected]>
By default, mkfs.cramfs will use the page size as block size. This breaks
the test for architectures with a different page size.
Add extraargs to the test config to enforce a 4k block size.

Signed-off-by: Michael Olbrich <[email protected]>
@michaelolbrich michaelolbrich merged commit 3bfee1f into pengutronix:master Jun 20, 2025
5 checks passed
@michaelolbrich michaelolbrich deleted the test branch June 20, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant