mbedtls/programs/test
Hanno Becker f65ca329b6 Introduce UDP proxy wrapper script
This commit introduces the script `programs/test/udp_proxy_wrapper.sh` which can
be used to wrap the SSL server binary `programs/ssl/ssl_server2` by the UDP
proxy application `programs/test/udp_proxy` while maintaining the same
interface from the command line.

Specifically, given UDP proxy arguments ARGS_UDP and SSL server arguments
ARGS_SSL, the command line

> ./udp_proxy_wrapper.sh ARGS_UDP -- ARGS_SSL

behaves like

> ./ssl_server2 ARGS_SSL

wrapped by

> ./udp_proxy ARGS_UDP

The motivation and benefit of this is that scripts like `ssl-opt.sh` can be used
with the server command line `P_SRV` modified to `./udp_proxy_wrapper.sh
ARGS_UDP -- DEFAULT_ARGS_SSL` which will result in all tests being executed for
an SSL server behind a UDP proxy.
2017-10-10 16:01:15 +01:00
..
benchmark.c Clean up of formatting, and potential integer overflow fix 2016-10-06 15:23:39 +01:00
CMakeLists.txt Fix whitespace in CMakeLists.txt 2015-06-25 10:59:57 +02:00
selftest.c Minor fixes to formatting and compilation conditions 2016-10-06 12:51:24 +01:00
ssl_cert_test.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
udp_proxy.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
udp_proxy_wrapper.sh Introduce UDP proxy wrapper script 2017-10-10 16:01:15 +01:00