NixOS / patchelf

A small utility to modify the dynamic linker and RPATH of ELF executables
GNU General Public License v3.0
3.57k stars 486 forks source link

tests/short-first-segment: fix uname(1) usage and skip message #525

Open klemensn opened 1 year ago

klemensn commented 1 year ago

Replace non-portable GNU -i, --hardware-platform with -m[, --machine] to fix "unknown error" usage error on, e.g. OpenBSD.

Also fix the check's backwards logic. OpenBSD/spar64 now prints -skipping test: not supported on x86_64 Linux +skipping test: amd64 Linux required