test 104: simplify, ensure sort locale, parametric tcc
commit5dfcc7506c1f4c74683957da3ab10ec301dcc317
authorAvi Halachmi (:avih) <avihpit@yahoo.com>
Wed, 19 Jun 2019 15:02:40 +0000 (19 18:02 +0300)
committerAvi Halachmi (:avih) <avihpit@yahoo.com>
Fri, 21 Jun 2019 19:36:09 +0000 (21 22:36 +0300)
treef4c1488919b8b934ea89be3eb26c3964c0ab676a
parent944fe7036c53613889deb66cb9d03da2407d6c85
test 104: simplify, ensure sort locale, parametric tcc

Previously test 104 used a combination of *nix tools and system() calls
to emulate a `sh` script, which required split code paths for windows
due to different shell and different absolute path representation.

Also, it used a hardcoded tcc binary path, didn't set locale for sort.

Now the tools are used from a `sh` script which the program generates
and invokes, tmp files are at CWD and no conversion is required, tcc
path is taken from Makefile (exported), and `sort` uses LC_ALL=C.
tests/tests2/104_inline_test.c
tests/tests2/Makefile