summaryrefslogtreecommitdiffstats
path: root/tests/torture.c
Commit message (Collapse)AuthorAgeFilesLines
* torture: Wait longer for echo_srv startupAndreas Schneider2018-10-231-2/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* tests: Increase wait time for setup and teardown to 5msAndreas Schneider2018-05-021-2/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Increase wait time during echo_server's pid-file checkAnoop C S2017-02-271-1/+1
| | | | | | | | | | | | We used to sleep for 200 microseconds in each iteration for checking the existence of echo server's pid file which seems to be very short. In order to avoid chances of failures to detect this pid file within 100 such iterations its better to increase this wait time to 2000 microseconds. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* torture: Use a short torture socket dirAndreas Schneider2015-10-271-1/+1
| | | | | | | | | This makes sure we do not run into a regression. Thanks to Grigorij Demidov <grigorii.demidov@nic.cz> Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* torture: Increase time to wait for pid file.Andreas Schneider2014-12-161-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* torture: Check the return code of kill().Andreas Schneider2014-10-201-4/+16
| | | | | | | CID #73654 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* torture: add HAVE_IPV6 guard to torture_server_address()Michael Adam2014-07-091-0/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* torture: Wait for the pidfile and then start the tests.Andreas Schneider2014-05-311-1/+13
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* torture: Add TORTURE_SKIP_CLEANUP to not delete socket_dir.Andreas Schneider2013-12-231-4/+9
|
* torture: Generate network traces for each test.Andreas Schneider2013-12-231-0/+12
|
* tests: Use torture_server_(address|port).Andreas Schneider2013-12-201-6/+24
| | | | This makes it possible to run tests without socket_wrapper.
* torture: Add torture_server_port().Andreas Schneider2013-12-201-0/+15
|
* torture: Add torture_server_address().Andreas Schneider2013-12-201-0/+28
| | | | This should make it easier to run the test without socket_wrapper.
* torture: Let the echo server listen on anyaddr.Andreas Schneider2013-12-201-8/+4
|
* torture: Set different default interface for client and server.Andreas Schneider2013-12-191-1/+7
|
* torture: Add tcp function to setup echo server.Andreas Schneider2013-12-171-0/+14
|
* torture: Pass socket type to torture_setup_echo_srv_ip().Andreas Schneider2013-12-171-5/+21
|
* torture: Add torture_generate_random_buffer().Andreas Schneider2013-12-171-0/+12
|
* torture: Add torture_setup_echo_srv_udp_ipv6().Andreas Schneider2013-12-101-2/+12
|
* torture_teardown_echo_srvAndreas Schneider2013-12-101-4/+5
|
* tests: Add teardown functions to torture lib.Andreas Schneider2013-12-101-2/+67
|
* tests: Add a torture library with helpers.Andreas Schneider2013-12-101-0/+94