openssl/test/testutil
Richard Levitte ce506d27ab testutil: ensure good treatment of argv on non-Unix platforms
From a Unix point of view, some other platform families have certain
quirks.  Windows command prompt doesn't expand globs into actual file
names, so we must do this.  VMS has some oddity with argv pointer size
that can cause crashes if you're not careful (by copying it to a less
surprising pointer size array).

The fixups already exist and are used in the apps/ code.  However, the
testutil code started using the opt routines from apps/ without
including the non-Unix fixups.  This change fixes that.

For VMS' sake, libtestutil gets an app_malloc() shim, to avoid sucking
in all of apps/apps.c.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8381)
2019-03-05 08:53:19 +01:00
..
apps_mem.c testutil: ensure good treatment of argv on non-Unix platforms 2019-03-05 08:53:19 +01:00
basic_output.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
cb.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
driver.c testutil: ensure good treatment of argv on non-Unix platforms 2019-03-05 08:53:19 +01:00
format_output.c Add a format attribute to the format functions and fix the broken format 2018-12-09 22:02:50 -05:00
init.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
main.c Updated test command line parsing to support commmon commands 2019-02-11 15:31:51 +01:00
options.c Updated test command line parsing to support commmon commands 2019-02-11 15:31:51 +01:00
output.h Add a format attribute to the format functions and fix the broken format 2018-12-09 22:02:50 -05:00
output_helpers.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
stanza.c Use a const variable 2018-12-09 22:02:50 -05:00
tap_bio.c don't pass const string where a modifyable string is expected 2018-12-09 22:02:49 -05:00
test_cleanup.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
test_options.c Updated test command line parsing to support commmon commands 2019-02-11 15:31:51 +01:00
tests.c Use the proper fonst cast 2018-12-09 22:02:49 -05:00
tu_local.h Updated test command line parsing to support commmon commands 2019-02-11 15:31:51 +01:00