1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00
ohwgiles_laminar/test
[[sroracle]] 1642899159 test: fix RunTest on systems with single file core utilities (#95)
On systems such as Alpine Linux (with busybox) and Adelie Linux (with
coreutils), the shell core utilities such as pwd, true, false, env, and
yes are all symlinks to a single binary. This single binary relies on
the name of the symlink to determine which command ("applet" in busybox
parlance) to execute. Therefore creating symlinks to these symlinks will
not work since the single binary will only see the top-level symlink and
thus think it is an invalid command.

Instead, generate executable shell scripts that exec into the desired
command. This also allows $PATH based resolution to occur instead of
hard-coding the command paths.

See also issue #94.
2019-05-24 21:27:24 +03:00
..
tempdir.h Replace boost/filesystem with kj/filesystem 2018-09-28 12:43:40 +03:00
test-conf.cpp add basic tests for conf, database and run 2018-01-26 13:07:02 +02:00
test-database.cpp resolves #45: new graphs 2018-09-08 18:16:30 +03:00
test-laminar.cpp Replace boost/filesystem with kj/filesystem 2018-09-28 12:43:40 +03:00
test-run.cpp test: fix RunTest on systems with single file core utilities (#95) 2019-05-24 21:27:24 +03:00
test-server.cpp resolves #79: serve logs over plain chunked http 2019-02-15 19:05:44 +02:00