aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2018-10-23torture: Wait longer for echo_srv startupAndreas Schneider1-2/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2018-05-02tests: Increase wait time for setup and teardown to 5msAndreas Schneider1-2/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2017-02-27Increase wait time during echo_server's pid-file checkAnoop C S1-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>
2015-10-27torture: Use a short torture socket dirAndreas Schneider1-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>
2014-12-16torture: Increase time to wait for pid file.Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2014-10-20torture: Check the return code of kill().Andreas Schneider1-4/+16
CID #73654 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2014-07-09torture: add HAVE_IPV6 guard to torture_server_address()Michael Adam1-0/+2
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2014-05-31torture: Wait for the pidfile and then start the tests.Andreas Schneider1-1/+13
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-12-23torture: Add TORTURE_SKIP_CLEANUP to not delete socket_dir.Andreas Schneider1-4/+9
2013-12-23torture: Generate network traces for each test.Andreas Schneider1-0/+12
2013-12-20tests: Use torture_server_(address|port).Andreas Schneider1-6/+24
This makes it possible to run tests without socket_wrapper.
2013-12-20torture: Add torture_server_port().Andreas Schneider1-0/+15
2013-12-20torture: Add torture_server_address().Andreas Schneider1-0/+28
This should make it easier to run the test without socket_wrapper.
2013-12-20torture: Let the echo server listen on anyaddr.Andreas Schneider1-8/+4
2013-12-19torture: Set different default interface for client and server.Andreas Schneider1-1/+7
2013-12-17torture: Add tcp function to setup echo server.Andreas Schneider1-0/+14
2013-12-17torture: Pass socket type to torture_setup_echo_srv_ip().Andreas Schneider1-5/+21
2013-12-17torture: Add torture_generate_random_buffer().Andreas Schneider1-0/+12
2013-12-10torture: Add torture_setup_echo_srv_udp_ipv6().Andreas Schneider1-2/+12
2013-12-10torture_teardown_echo_srvAndreas Schneider1-4/+5
2013-12-10tests: Add teardown functions to torture lib.Andreas Schneider1-2/+67
2013-12-10tests: Add a torture library with helpers.Andreas Schneider1-0/+94