Use correct logical operator for tox_test

Check to ensure that all 3 tox instances are up rather than
just one.
This commit is contained in:
Chuong Vu 2016-09-11 00:02:44 -07:00
parent 05f474b4df
commit d9cd1b0c64

View File

@ -440,7 +440,7 @@ START_TEST(test_few_clients)
Tox *tox3 = tox_new(0, &t_n_error); Tox *tox3 = tox_new(0, &t_n_error);
ck_assert_msg(t_n_error == TOX_ERR_NEW_OK, "wrong 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; TOX_ERR_GET_PORT error;