Commit 0542894
committed
fixtures: put endianness in the id, not the arch directory
The fixture namespace is the arch-header set, but mips32el/ and mips64el/ were
in it and no such header exists — mips32.h serves mips and mipsel alike. Byte
order changes the captured bytes and the replay binary, not the layout model,
so it belongs in the id beside the variant.
Without it the two orders resolve to one directory and the capture rm -rf's the
destination first, so whichever cell ran last would be the one kept. That was
not hypothetical: ppc64/ already held a ppc64 and a ppc64le bundle, apart only
because their release strings happened to differ.
fixture_arch now maps mipsel to mips32 and mips64el to mips64, and the id
carries -eb/-el on the four arches that can hold both orders: arm32, ppc64,
mips32, mips64. The other nine are single-endianness, where a suffix would say
nothing. The value is read from the booted image's ELF EI_DATA byte — the
kernel's own statement of its byte order — rather than a table of which cell is
which.
Twenty existing bundles renamed, each suffix taken from its own uname_m_raw,
and mips32/mainline-7.0.0-eb regenerated to confirm a capture lands beside its
LE sibling instead of replacing it. Binary selection was never at risk:
validate-bundle resolves it from uname_m_raw, which is endianness-aware and
untouched.
validate-fixtures 27 sound / 0 FAIL, replay 58 pass.1 parent deb5af9 commit 0542894
1,612 files changed
Lines changed: 24 additions & 4 deletions
File tree
- tests
- fixtures
- arm32
- alpine-3.21-6.12.81-0-lts-el
- sysroot
- boot
- proc
- device-tree/chosen
- sys/kernel
- sys
- firmware
- devicetree/base/chosen
- kernel
- debian--6.6.13-armmp-el
- sysroot
- boot
- proc
- device-tree/chosen
- sys/kernel
- sys
- firmware/devicetree/base/chosen
- kernel
- security
- debian-13-6.12.94_deb13-armmp-el
- sysroot
- boot
- proc
- device-tree/chosen
- sys/kernel
- sys
- firmware
- devicetree/base/chosen
- kernel
- security
- var/log
- raspbian-11-5.10.63-el
- sysroot
- proc
- device-tree/chosen
- sys/kernel
- sys
- firmware/devicetree/base/chosen
- kernel
- var/log
- ubuntu-18.04-4.14.141-169-el
- sysroot
- proc
- device-tree/chosen
- sys/kernel
- sys
- firmware/devicetree/base/chosen
- kernel
- var/log
- mips32
- debian-10-4.19.0-21-4kc-malta-eb
- sysroot
- boot
- proc
- sys/kernel
- sys/kernel
- debian-11-5.10.0-10-4kc-malta-eb
- sysroot
- boot
- proc
- sys/kernel
- sys/kernel
- security
- mainline-6.15.6-eb
- sysroot
- boot
- proc
- sys/kernel
- sys
- firmware
- kernel
- mainline-6.15.6-el
- sysroot
- boot
- proc
- sys/kernel
- sys
- firmware
- kernel
- mainline-7.0.0-eb
- sysroot
- boot
- proc
- sys/kernel
- sys
- firmware
- kernel
- mainline-7.0.0-el
- sysroot
- boot
- proc
- sys/kernel
- sys
- firmware
- kernel
- mips64
- mainline-6.15.6-el
- sysroot
- boot
- proc
- sys/kernel
- sys
- firmware
- kernel
- mainline-7.0.0-el
- sysroot
- boot
- proc
- sys/kernel
- sys
- firmware
- kernel
- ppc64
- alpine-3.18.3-6.1.44-0-lts-el
- sysroot
- proc
- device-tree
- chosen
- rtas
- sys/kernel
- sys
- firmware/devicetree/base
- chosen
- rtas
- kernel
- alpine-3.21-6.12.81-0-lts-el
- sysroot
- boot
- proc
- device-tree
- chosen
- rtas
- sys/kernel
- sys
- firmware
- devicetree/base
- chosen
- rtas
- kernel
- debian--6.19.8_deb14-powerpc64le-el
- sysroot
- boot
- proc
- device-tree
- chosen
- rtas
- sys/kernel
- sys
- firmware/devicetree/base
- chosen
- rtas
- kernel
- security
- debian-13-6.12.90_deb13-powerpc64le-el
- sysroot
- boot
- proc
- device-tree
- chosen
- rtas
- sys/kernel
- sys
- firmware/devicetree/base
- chosen
- rtas
- kernel
- security
- debian-13-6.12.94_deb13-powerpc64le-el
- sysroot
- boot
- proc
- device-tree
- chosen
- rtas
- sys/kernel
- sys
- firmware
- devicetree/base
- chosen
- rtas
- kernel
- security
- var/log
- mainline-6.15.6-eb
- sysroot
- boot
- proc
- device-tree
- chosen
- rtas
- sys/kernel
- sys
- firmware
- devicetree/base
- chosen
- rtas
- kernel
- ubuntu-26.04-7.0.0-14-generic-el
- sysroot
- boot
- proc
- device-tree
- chosen
- rtas
- sys/kernel
- sys
- firmware/devicetree/base
- chosen
- rtas
- kernel
- security
- vm
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
0 commit comments