Skip to content

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

Merged
nyo16 merged 1 commit into
nyo16:masterfrom
mjrusso:pr/portable-test-commands
Oct 8, 2026
Merged

nyo16 merged 1 commit into
nyo16:masterfrom
mjrusso:pr/portable-test-commands

Conversation

@mjrusso

@mjrusso mjrusso commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

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`.
@nyo16
nyo16 merged commit c1943ef into nyo16:master Oct 8, 2026
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.

2 participants