From 631a60b068c53fc1939d1f90deec7536d8339ddc Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Mon, 27 May 2013 11:51:01 +0200 Subject: cesar/cp/av/sta/action: fix a forgotten unit test, refs #3968 The test concerning the simple connect has not been updated. --- cesar/cp/av/sta/action/test/utest/src/sc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cesar/cp/av/sta/action/test/utest/src/sc.c b/cesar/cp/av/sta/action/test/utest/src/sc.c index 6bc83a5ceb..b7b8f79e7a 100644 --- a/cesar/cp/av/sta/action/test/utest/src/sc.c +++ b/cesar/cp/av/sta/action/test/utest/src/sc.c @@ -1049,8 +1049,8 @@ sc_basic_test_cases (test_t t) SCENARIO_EVENT (cp_fsm_event_bare_new, .type = CP_FSM_EVENT_TYPE_assoc_timeout), */ SCENARIO_EVENT (cp_sta_core_gen_timed_event, - .delay_min_ms = 10 * 60 * 1000 - (5 * 60 * 1000), - .delay_max_ms = 10 * 60 * 1000 - (5 * 60 * 1000)), + .delay_min_ms = (10 - 1) * 60 * 1000, + .delay_max_ms = (10 - 1) * 60 * 1000), /* Association ok. */ SCENARIO_EVENT (cp_fsm_branch, .branch = CP_FSM_BRANCH (SC_WAIT_ASSOC_CONF, CC_ASSOC_CNF, @@ -1330,8 +1330,8 @@ sc_basic_test_cases (test_t t) SCENARIO_EVENT (cp_fsm_event_bare_new, .type = CP_FSM_EVENT_TYPE_assoc_timeout), */ SCENARIO_EVENT (cp_sta_core_gen_timed_event, - .delay_min_ms = 10 * 60 * 1000 - (5 * 60 * 1000), - .delay_max_ms = 10 * 60 * 1000 - (5 * 60 * 1000)), + .delay_min_ms = (10 - 1) * 60 * 1000, + .delay_max_ms = (10 - 1) * 60 * 1000), /* Association ok. */ SCENARIO_EVENT (cp_fsm_branch, .branch = CP_FSM_BRANCH (SC_WAIT_ASSOC_CONF, CC_ASSOC_CNF, -- cgit v1.2.3