summaryrefslogtreecommitdiff
path: root/auto_tests/invalid_tcp_proxy_test.c
diff options
context:
space:
mode:
authorhugbubby <hugbubby@protonmail.com>2018-07-25 16:19:05 -0700
committeriphydf <iphydf@users.noreply.github.com>2018-07-28 16:14:06 +0000
commit051eb1d5a78ac196362fde9b917641ddb4e59c4f (patch)
tree8ae556512375faf11069173d4fd3865d42be0597 /auto_tests/invalid_tcp_proxy_test.c
parentc4d58403f966328fb26e062b71adf05842ff3039 (diff)
auto_test fixture and filenames
Renamed a poorly named test, fixed up a few printf statements, substituted some unsigned integers with fixed size counterparts, and implemmented the auto_run_test.h fixture for the lossy and lossless packet tests.
Diffstat (limited to 'auto_tests/invalid_tcp_proxy_test.c')
-rw-r--r--auto_tests/invalid_tcp_proxy_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto_tests/invalid_tcp_proxy_test.c b/auto_tests/invalid_tcp_proxy_test.c
index 211b04eb..b0d60f2d 100644
--- a/auto_tests/invalid_tcp_proxy_test.c
+++ b/auto_tests/invalid_tcp_proxy_test.c
@@ -35,9 +35,9 @@ int main(void)
35 tox_add_tcp_relay(tox, "tox.ngc.zone", 33445, key, nullptr); 35 tox_add_tcp_relay(tox, "tox.ngc.zone", 33445, key, nullptr);
36 tox_bootstrap(tox, "tox.ngc.zone", 33445, key, nullptr); 36 tox_bootstrap(tox, "tox.ngc.zone", 33445, key, nullptr);
37 37
38 printf("Waiting for connection\n"); 38 printf("Waiting for connection...\n");
39 39
40 for (unsigned i = 0; i < NUM_ITERATIONS; i++) { 40 for (uint16_t i = 0; i < NUM_ITERATIONS; i++) {
41 tox_iterate(tox, nullptr); 41 tox_iterate(tox, nullptr);
42 c_sleep(ITERATION_INTERVAL); 42 c_sleep(ITERATION_INTERVAL);
43 // None of the iterations should have a connection. 43 // None of the iterations should have a connection.