martinpitt / umockdev

Mock hardware devices for creating unit tests and bug reporting
https://launchpad.net/umockdev
GNU Lesser General Public License v2.1
308 stars 54 forks source link

Skip usbfs_ioctl_pcap on sparc64 #233

Closed martinpitt closed 6 months ago

martinpitt commented 6 months ago

Calling Ioctl.USBDEVFS_REAPURB in the test causes a SIGBUS error on sparc64. It's actually surprising that this test passes on a lot of architectures -- the pcap file was recorded on x86_64, and there may be some unaligned access there.

I don't know enough about compilers, alignment, and pcap files to actually fix this. But the more pressing issue is to fix the package build on sparc64.

Fixes #218