mirror of
https://github.com/uselessd/alcove.git
synced 2026-04-15 17:25:33 +00:00
9e2608ca233dc082dfefec647c5f2d933522cac2
The stderr test on linux can return either <<"nonexistent: not found\n">> or: <<"sh: ">> Probably the shell is using 2 writes to produce the error message, which may or may not be buffered into one read. Use a pattern match to avoid the test failing. Add a separate test for freebsd (untested).
alcove
Sandbox for Erlang ports.
Tests
The tests currently rely on having a statically linked version of busybox. On Ubuntu:
apt-get install busybox-static
A statically linked executable is required because the tests do a chroot(2) to /bin before exec'ing the binary.
Description
Languages
C
71.5%
Erlang
27.1%
Makefile
0.7%
Shell
0.7%