mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2026-02-02 11:33:14 +01:00
* tests: fix cmd_exists for QEMU environments QEMU user-mode has a bug where posix_spawn returns success even when the command doesn't exist. The child exits with 127, but the parent thinks it succeeded. Change cmd_exists to check if the command actually ran successfully (exit code 0), not just if spawn returned Ok. This fixes compression tests on riscv64 and other QEMU-emulated architectures. Ref https://github.com/rust-lang/rust/issues/90825 * tests: remove riscv64 skip for compression tests Remove the cfg guards that disabled lz4, brotli, and zstd tests on riscv64. These now work with the QEMU fix.