mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
A test in c/reg_test/run currently relies on glibc-specific print buffering behavior in a test case that checks environment vars with subprocesses. The case in question made mlr spawn a script that prints a few lines but also had mlr print lines itself at the same time. The order of lines from mlr vs subprocess are undefined, producing a slightly different outcome on Alpine Linux than on Glibc-based distributions. This commit adds the "put -q" flag to the test case effectively causing only the subprocess output to be printed (which is the one the particular test case was interested in). Relates to https://github.com/johnkerl/miller/issues/293 |
||
|---|---|---|
| .. | ||
| expected | ||
| input | ||
| dev | ||
| Makefile.am | ||
| Makefile.in | ||
| README.md | ||
| run | ||
There are two classes of testing for Miller:
-
C source-file names starting with
test_use MinUnit to unit-test various subsystems of interest. These are separate executables built and run by the build framework. -
test/runruns the mainmlrexecutable with canned inputs, comparing actual to canned outputs, to regression-test Miller's end-to-end operation.