Skip to content

Resolve echo and cat through PATH instead of hardcoding /bin - #14

Open
mjrusso wants to merge 1 commit into
nyo16:masterfrom
mjrusso:pr/portable-test-commands
Open

mjrusso wants to merge 1 commit into
nyo16:masterfrom
mjrusso:pr/portable-test-commands

Conversation

@mjrusso

@mjrusso mjrusso commented Sep 7, 2026

Copy link
Copy Markdown

Update the tests to resolve /bin/echo and /bin/cat through System.find_executable/1. This fixes tests on systems running NixOS, which do not place executables in /bin.

Some hosts, such as NixOS, do not have `/bin/echo` or `/bin/cat`.

The tests now resolve both commands with `System.find_executable/1`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant