From d9cd1b0c64677b825624d211ddf11b37b9acc738 Mon Sep 17 00:00:00 2001 From: Chuong Vu Date: Sun, 11 Sep 2016 00:02:44 -0700 Subject: [PATCH] Use correct logical operator for tox_test Check to ensure that all 3 tox instances are up rather than just one. --- auto_tests/tox_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_tests/tox_test.c b/auto_tests/tox_test.c index 3928bc9c..9649138e 100644 --- a/auto_tests/tox_test.c +++ b/auto_tests/tox_test.c @@ -440,7 +440,7 @@ START_TEST(test_few_clients) Tox *tox3 = tox_new(0, &t_n_error); ck_assert_msg(t_n_error == TOX_ERR_NEW_OK, "wrong error"); - ck_assert_msg(tox1 || tox2 || tox3, "Failed to create 3 tox instances"); + ck_assert_msg(tox1 && tox2 && tox3, "Failed to create 3 tox instances"); { TOX_ERR_GET_PORT error;