aboutsummaryrefslogtreecommitdiffstats
path: root/test/recipes/90-test_networking.t
Commit message (Collapse)AuthorAgeFilesLines
* Skip the TLSProxy tests if environmental problems are an issueMatt Caswell2016-06-161-67/+0
| | | | | | | | | | | | | | | | On some platforms we can't startup the TLSProxy due to environmental problems (e.g. network set up on the build machine). These aren't OpenSSL problems so we shouldn't treat them as test failures. Just visibly indicate that we are skipping the test. We only skip the first time we attempt to start up the proxy. If that works then everything else should do...if not we should probably investigate and so report as a failure. This also removes test_networking...there is a danger that this turns into a test of user's environmental set up rather than OpenSSL. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Unified copyright for test recipesRich Salz2016-04-221-52/+6
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Adapt some test recipes to the newer cmdstr()Richard Levitte2016-04-021-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Fix no-sockMatt Caswell2016-03-211-0/+3
| | | | | | Misc fixes for no-sock Reviewed-by: Richard Levitte <levitte@openssl.org>
* Don't define OPENSSL_ENGINES in test recipes, do it in Makefiles insteadRichard Levitte2016-03-171-1/+0
| | | | | | | | | | | | | | In most builds, we can assume that engines live in the build tree subdirectory "engines". This was hard coded into the tests that use the engine ossltest. However, that hard coding is tedious, it would need to be done in every test recipe, and it's an incorrect assumption in some cases. This change has us play it safe and let the build files tell the testing framework where the engines are. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Don't run the TLSProxy based tests in native WindowsRichard Levitte2016-03-091-1/+1
| | | | | | | There are issues binding listening ports. This may be analyzed more thoroughly later on. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Use $disabled{"dynamic-engine"} internallyRichard Levitte2016-02-221-1/+1
| | | | | | | | We were kinda sorta using a mix of $disabled{"static-engine" and $disabled{"dynamic-engine"} in Configure. Let's avoid confusion, choose one of them and stick to it. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Run the TLSProxy based tests as long as dynamic engines are built.Richard Levitte2016-02-201-5/+2
| | | | | | | They depend on this feature because they use the engine ossltest, which is only available as a dynamic engine. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Let all TLSProxy based tests display debug text conditionallyRichard Levitte2016-02-121-1/+2
| | | | | | | | If the environment variable HARNESS_ACTIVE isn't defined or HARNESS_VERBOSE is defined, it's probable that lots of output is desired. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Fix 90-test_networking.tRichard Levitte2016-02-091-0/+1
| | | | | | The previous fix wasn't complete, it was missing a 'use OpenSSL::Test::Utils' Reviewed-by: Matt Caswell <matt@openssl.org>
* Update 90-test-networking.t to do the same checks as other TLSProxy testsRichard Levitte2016-02-091-3/+7
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* unified build scheme: adjust test framework for out of source build treeRichard Levitte2016-02-091-4/+4
| | | | | | | | | | | | | | | | To be able to run tests when we've built in a directory other than the source tree, the testing framework needs a few adjustments. test/testlib/OpenSSL/Test.pm needs to know where it can find shlib_wrap.sh, and a number of other tests need to be told a different place to find engines than what they may be able to figure out on their own. Relying to $TOP is not enough, $SRCTOP and $BLDTOP can be used as an alternative. As part of this change, top_file and top_dir are removed and srctop_file, bldtop_file, srctop_dir and bldtop_dir take their place. Reviewed-by: Ben Laurie <ben@openssl.org>
* Refactoring BIO: add a simple networking test of s_client and s_serverRichard Levitte2016-02-031-0/+108
This makes use of TLSProxy, which was expanded to use IO::Socket::IP (which is a core perl module) or IO::Socket::INET6 (which is said to be more popular) instead IO::Socket::INET if one of them is installed. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>