Skip to content

test failure on i386. #39

@plugwash

Description

@plugwash

We recently updated fromhop in Debian and it's tests failed on the test runners for i386

103s ---- rule_cache::tests::test_cache_entry_size stdout ----
103s thread 'rule_cache::tests::test_cache_entry_size' panicked at src/rule_cache.rs:141:9:
103s assertion `left == right` failed
103s   left: 20
103s  right: 24
103s stack backtrace:

Reading the code, I came to the conclusion that it was normal for this structure to be smaller on i386, due to the lower alignment requirements.

As such I applied the patch at https://salsa.debian.org/rust-team/debcargo-conf/-/blob/16eff923c3e9eddc6b9a3afd006697caf8c303c1/src/framehop/debian/patches/fix-test-i386.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions