diff options
author | Chuong Vu <chuongv@gmail.com> | 2016-09-11 00:02:44 -0700 |
---|---|---|
committer | Chuong Vu <chuongv@gmail.com> | 2016-09-11 10:47:15 -0700 |
commit | d9cd1b0c64677b825624d211ddf11b37b9acc738 (patch) | |
tree | 4eed0aac1babc9eeca4fd5ddc8631593c28eb9db /auto_tests | |
parent | 05f474b4df8171412237f46c943822edd202b4a9 (diff) |
Use correct logical operator for tox_test
Check to ensure that all 3 tox instances are up rather than
just one.
Diffstat (limited to 'auto_tests')
-rw-r--r-- | auto_tests/tox_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
440 | Tox *tox3 = tox_new(0, &t_n_error); | 440 | Tox *tox3 = tox_new(0, &t_n_error); |
441 | ck_assert_msg(t_n_error == TOX_ERR_NEW_OK, "wrong error"); | 441 | ck_assert_msg(t_n_error == TOX_ERR_NEW_OK, "wrong error"); |
442 | 442 | ||
443 | ck_assert_msg(tox1 || tox2 || tox3, "Failed to create 3 tox instances"); | 443 | ck_assert_msg(tox1 && tox2 && tox3, "Failed to create 3 tox instances"); |
444 | 444 | ||
445 | { | 445 | { |
446 | TOX_ERR_GET_PORT error; | 446 | TOX_ERR_GET_PORT error; |