Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: check for little endian CPU for OS VM comparison
When I wrote these tests, I assumed the native endianness for the machine was little endian. Explicitly check this so that the emulated BPF VM tests can run on s390x, but we avoid test flakes related to endianness. Updates golang/go#55235. Change-Id: I9be430dfe7f97503af7a620ed80dcbacb66d73cc Reviewed-on: https://go-review.googlesource.com/c/net/+/501155 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Matt Layher <mdlayher@gmail.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
- Loading branch information