Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | testing: Support running multiple tests with * as wildcard (e.g. ikev2/ocsp-*) | Tobias Brunner | 2017-07-07 | 1 | -6/+10 |
| | |||||
* | testing: load-testconfig script loads config from source dir | Tobias Brunner | 2017-03-02 | 1 | -57/+0 |
| | | | | | | It now does replace the IPs too. This way it's easier to play around with a config (otherwise a do-tests run was required to build the config files in the build dir). | ||||
* | testing: Fix totals if post test checks fail | Tobias Brunner | 2016-09-20 | 1 | -12/+12 |
| | |||||
* | testing: Log leaks and fail tests if any are detected | Tobias Brunner | 2016-09-20 | 1 | -1/+30 |
| | |||||
* | testing: Add output of iptables-save | Tobias Brunner | 2016-09-12 | 1 | -1/+11 |
| | | | | | | | | | This might be helpful to get the complete picture of the installed rules. `-c` is currently not used as the counters that are added in front of every rule make the output quite hard to read and the counters are already provided in the accompanying `iptables -v -L` output. Fixes #2111. | ||||
* | testing: List `nat` and `mangle` tables in addition to the `filter` table | Tobias Brunner | 2016-09-12 | 1 | -3/+6 |
| | | | | | | This is useful in scenarios that e.g. use NAT and/or marks. References #2111. | ||||
* | testing: Ignore comments (lines starting with #) in pre-/eval-/posttest.dat | Tobias Brunner | 2016-09-09 | 1 | -3/+3 |
| | |||||
* | testing: Try to properly abort a test run after CTRL-C | Tobias Brunner | 2016-08-30 | 1 | -0/+15 |
| | | | | | | | | | The run is aborted after the current scenario. Depending on which command was interrupted it might be necessary to press CTRL-C multiple times (e.g. if a later command depends on the interrupted one). This should fix HTML files and get us some proper console output after the run. | ||||
* | testing: Report number of tests per subdirectory in main index | Tobias Brunner | 2016-08-30 | 1 | -7/+22 |
| | |||||
* | testing: Mount and serve testresults from the host | Tobias Brunner | 2016-08-29 | 1 | -10/+0 |
| | | | | | | | | This avoids having to copy testresults, makes results of cancelled runs browsable (runs may actually be followed live) and preserves old results when rebuilding guest images (e.g. when using the build-strongswan script). The number of consecutive test runs without any intermittent rebuild of the guest images is also not limited by the image size anymore. | ||||
* | testing: Serve images in testresults via mod_rewrite and not a symlink | Tobias Brunner | 2016-08-29 | 1 | -1/+0 |
| | |||||
* | testing: Wait for packets to be processed by tcpdump | Tobias Brunner | 2016-06-16 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes tcpdump fails to process all packets during the short running time of a scenario: 0 packets captured 18 packets received by filter 0 packets dropped by kernel So 18 packets were captured by libpcap but tcpdump did not yet process and print them. This tries to use --immediate-mode if supported by tcpdump (the one currently in jessie or wheezy does not, but the one in jessie-backports does), which disables the buffering in libpcap. However, even with immediate mode there are cases where it takes a while longer for all packets to get processed. And without it we also need a workaround (even though the version in wheezy actually works fine). That's why there now is a loop checking for differences in captured vs. received packets. There are actually cases where these numbers are not equal but we still captured all packets we're interested in, so we abort after 1s of retrying. But sometimes it could still happen that packets we expected got lost somewhere ("packets dropped by kernel" is not always 0 either). | ||||
* | testing: Make sure tcpdump is actually terminated before ↵ | Tobias Brunner | 2016-06-16 | 1 | -11/+6 |
| | | | | analyzing/collecting logs | ||||
* | testing: Change sql scenarios to swanctl | Andreas Steffen | 2016-01-03 | 1 | -5/+18 |
| | |||||
* | testing: Added swanctl --list-algs output | Andreas Steffen | 2015-12-11 | 1 | -2/+5 |
| | |||||
* | vici: Don't report memory usage via leak-detective | Tobias Brunner | 2015-12-11 | 1 | -1/+0 |
| | | | | | This slowed down the `swanctl --stats` calls in the test scenarios significantly, with not much added value. | ||||
* | testing: Add test config to create and remove a directory for DBs stored in ↵ | Tobias Brunner | 2015-11-09 | 1 | -1/+23 |
| | | | | ramfs | ||||
* | testing: Report the actual strongSwan and kernel versions | Tobias Brunner | 2015-11-09 | 1 | -0/+6 |
| | |||||
* | testing: Report time required for all scenarios on test overview page | Tobias Brunner | 2015-11-09 | 1 | -4/+13 |
| | |||||
* | testing: Don't log anything to the console if auth.log or daemon.log do not ↵ | Tobias Brunner | 2015-11-09 | 1 | -2/+2 |
| | | | | exist | ||||
* | testing: Simplify fetching of swanctl --list-* output | Tobias Brunner | 2015-11-09 | 1 | -20/+8 |
| | |||||
* | testing: Let test scenarios fail if IPsec SAs or policies are not removed | Tobias Brunner | 2015-08-21 | 1 | -0/+18 |
| | | | | | The IKE daemon should delete all installed SAs and policies when everything works properly, so we fail the test if that's not the case. | ||||
* | testing: Flush state and policies before every scenario | Tobias Brunner | 2015-08-21 | 1 | -0/+8 |
| | | | | Similar to conntrack we make sure we are working on a clean slate. | ||||
* | testing: Don't run do-tests when hosts are not running | Tobias Brunner | 2015-08-03 | 1 | -0/+1 |
| | | | | | | running_any is satisfied if at least one host is running. We could easily add a running_all() helper to check if all hosts are running if it turns out that's not strong enough. | ||||
* | testing: Added swanctl --list-authorities output to do-tests | Andreas Steffen | 2015-07-22 | 1 | -1/+5 |
| | |||||
* | tests: Introduced IPV6 flag in tests.conf | Andreas Steffen | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | tests: Introduced SWANCTL flag in test.conf | Andreas Steffen | 2015-07-21 | 1 | -23/+25 |
| | |||||
* | Added swanctl --list-pols and swanctl --stats do scenario log | Andreas Steffen | 2014-06-18 | 1 | -3/+12 |
| | |||||
* | First swanctl scenario5.2.0dr5 | Andreas Steffen | 2014-06-01 | 1 | -14/+71 |
| | |||||
* | Test SWID REST API ins tnc/tnccs-20-pdp scenarios | Andreas Steffen | 2014-05-31 | 1 | -1/+1 |
| | |||||
* | testing: Run 'conntrack -F' before all test scenarios | Tobias Brunner | 2014-04-02 | 1 | -0/+9 |
| | | | | This prevents failures due to remaining conntrack entries. | ||||
* | testing: Ignore errors when searching for imcv log entries in daemon.log | Tobias Brunner | 2013-06-10 | 1 | -1/+1 |
| | |||||
* | Define SSHCONF from strongswan testing directory, not TESTDIR | Martin Willi | 2013-03-26 | 1 | -0/+1 |
| | | | | | This fixes the use of SSHCONF in the ssh wrapper script before ./do-tests had a chance to create the required symlinks. | ||||
* | Store debug output from standalone IMC/IMVs | Andreas Steffen | 2013-03-22 | 1 | -2/+2 |
| | |||||
* | Renamed $UMLHOSTS to $VIRTHOSTS | Tobias Brunner | 2013-01-17 | 1 | -1/+1 |
| | |||||
* | Append seconds to TESTDATE | Reto Buerki | 2013-01-17 | 1 | -1/+1 |
| | | | | | This avoids 'file exists' warnings when running tests multiple times in one minute. | ||||
* | Auto-create symlink to testing directory in workdir | Reto Buerki | 2013-01-17 | 1 | -0/+2 |
| | |||||
* | Rename UML to KVM tests | Andreas Steffen | 2013-01-17 | 1 | -7/+7 |
| | |||||
* | List daemon.log on $RADIUSHOSTS | Andreas Steffen | 2013-01-17 | 1 | -0/+4 |
| | |||||
* | Make test scripts callable from any path | Reto Buerki | 2013-01-17 | 1 | -8/+8 |
| | |||||
* | Drop SELECTEDTESTSONLY support | Reto Buerki | 2013-01-17 | 1 | -4/+0 |
| | |||||
* | Use exit trap to kill open ssh sessions | Reto Buerki | 2013-01-17 | 1 | -8/+1 |
| | |||||
* | Rename UMLTESTDIR variable to TESTDIR | Reto Buerki | 2013-01-17 | 1 | -1/+1 |
| | |||||
* | Use log_action function in do-tests script | Reto Buerki | 2013-01-17 | 1 | -38/+27 |
| | |||||
* | Use key(and password-)less SSH authentication | Tobias Brunner | 2013-01-17 | 1 | -1/+1 |
| | |||||
* | Adjust strongSwan version handling in HTML output | Reto Buerki | 2013-01-17 | 1 | -23/+23 |
| | |||||
* | Copy and display host specific tcpdump.log files | Tobias Brunner | 2013-01-17 | 1 | -0/+22 |
| | |||||
* | Don't generate do-tests | Tobias Brunner | 2013-01-17 | 1 | -0/+785 |
| | |||||
* | testing/do-tests is made from do-tests.in by inserting actual routing table | Andreas Steffen | 2007-08-28 | 1 | -663/+0 |
| | |||||
* | use cgecho for green output | Andreas Steffen | 2007-08-03 | 1 | -3/+5 |
| |