pilebones / go-udev

Simple udev implementation in Golang
GNU General Public License v3.0
95 stars 28 forks source link

Tests: ensure big-endian architecture is tested/managed correctly #21

Open pilebones opened 3 years ago

pilebones commented 3 years ago

See issue: #13 And see test: https://github.com/pilebones/go-udev/blob/master/netlink/uevent_test.go#L67-L70

From tests, the input byte data is hard-coded for little-endian architectures. We should also manage big-endian architectures.