Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | changes in uml configuration to allow mobike | Andreas Steffen | 2007-07-02 | 1 | -2/+6 |
| | |||||
* | added x as a wildcard for number of tests | Andreas Steffen | 2007-06-08 | 1 | -1/+1 |
| | |||||
* | fixed html output | Andreas Steffen | 2007-05-25 | 1 | -5/+10 |
| | |||||
* | cecho changes in UML scripts | Andreas Steffen | 2007-05-23 | 1 | -2/+3 |
| | |||||
* | hierarchical display of tests | Andreas Steffen | 2007-05-15 | 1 | -30/+101 |
| | |||||
* | added ip route list and iptables -L | Andreas Steffen | 2007-04-03 | 1 | -21/+51 |
| | |||||
* | add daemon.log to web page | Andreas Steffen | 2007-03-15 | 1 | -0/+17 |
| | |||||
* | fixed path to images directory | Andreas Steffen | 2006-09-14 | 1 | -1/+1 |
| | |||||
* | added tcpdumpcount function from NATT guys | Martin Willi | 2006-07-13 | 1 | -0/+13 |
| | | | | | | | added possibility to mount the strongswan tree into all UMLs added script for installing from shared tree in all UMLs added script to shut down all UMLs properly | ||||
* | introduced subdirectory structure | Andreas Steffen | 2006-07-03 | 1 | -225/+239 |
| | |||||
* | single tests now start up faster | Andreas Steffen | 2006-06-12 | 1 | -42/+70 |
| |