cosmopolitan/test/libc/stdio
Justine Tunney 950a1b310b
Embed cocmd.com interpreter for system() / open()
This change lets you use system() in an easier and portable way. The
problem with the call in the past has always been that bourne and
cmd.com on Windows have less than nothing in common, so pretty much the
only command system() could be used for across platforms was maybe echo.
cmd.exe is also a security liability due to its escaping rules.

Since cocmd.com implements 85% of what we need from bourne, in a really
tiny way, it makes perfect sense to be embedded in these functionss. We
get a huge performance boost too.

Fixes #644
2022-10-02 15:29:57 -07:00
..
crypt_test.c Make more libc improvements 2022-08-06 17:18:40 -07:00
devrand_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
dirstream_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
dtoa_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
dumphexc_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
ecvt_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
fgetln_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
fgets_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
fgetwc_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
fmemopen_test.c Improve memory safety 2021-10-13 17:27:13 -07:00
fputc_test.c Remove stdio lock macros from amalgamation 2022-09-10 12:03:36 -07:00
fputs_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
freopen_test.c Fix freopen so it resets stream buffer (#61) 2021-03-07 12:12:02 -08:00
fseeko_test.c Restore zip.com and .symtab files 2022-08-21 00:17:20 -07:00
ftell_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
fwrite_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
getdelim_test.c Clean up some code 2022-08-20 12:32:51 -07:00
getrandom_test.c Add some tests for execve() 2022-10-02 14:58:14 -07:00
gz_test.c Add zlib gzip functions 2022-05-12 12:17:40 -07:00
iconv_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
joinstrlist_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
memory_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
mkostempsm_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
mt19937_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
rand_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
rngset_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
spawn_test.c Clean up some code 2022-08-20 12:32:51 -07:00
system_test.c Embed cocmd.com interpreter for system() / open() 2022-10-02 15:29:57 -07:00
test.mk Have execve() escape double quotes in cmd.exe's preferred style 2022-10-02 09:15:46 -07:00
tmpfile_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
ungetc_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
vappendf_test.c Pay off more technical debt 2022-09-12 23:36:56 -07:00