summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest/src/bsut.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/test/utest/src/bsut.c')
-rw-r--r--cesar/bsu/test/utest/src/bsut.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cesar/bsu/test/utest/src/bsut.c b/cesar/bsu/test/utest/src/bsut.c
index 9f4b73b0f1..46c59c5be0 100644
--- a/cesar/bsu/test/utest/src/bsut.c
+++ b/cesar/bsu/test/utest/src/bsut.c
@@ -80,6 +80,7 @@ test_case_bsu_process (test_t test)
bprocessed = bsu_beacon_process (t.bsu, bneighbour, &bpneighbour_rx);
/* Central beacon processed ? */
test_fail_unless (bprocessed);
+ test_fail_unless (!bprocessed->params.frequency_error_valid);
test_fail_unless (t.bsu->avlns[0].snid == bpneighbour_rx.snid);
test_fail_unless (t.bsu->avlns[0].beacon.vf.nid
== beacon_neighbour.vf.nid);
@@ -97,6 +98,7 @@ test_case_bsu_process (test_t test)
== beacon_neighbour.vf.nid);
/* NTB called ? */
test_fail_unless (t.bsu->avlns[0].sync.init == true);
+ test_fail_unless (bprocessed->params.frequency_error_valid);
blk_release_desc ((blk_t*) bneighbour);
test_fail_unless (t.bsu->beacon_nb_recv [BSU_BEACON_TYPE_CENTRAL]
== 2);
@@ -133,6 +135,8 @@ test_case_bsu_process (test_t test)
== 3);
/* NTB called ? */
test_fail_unless (t.bsu->sta_avln->sync.init == true);
+ test_fail_unless (t.bsu->sta_avln->sync.second_shoot);
+ test_fail_unless (bprocessed->params.frequency_error_valid);
blk_release_desc ((blk_t*) b);
blk_release (bprocessed);
}