summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-10-21 15:59:22 +0200
committerNélio Laranjeiro2011-11-02 17:47:55 +0100
commit8dae7fa489bd2a0ff620578de6efcd328c080cec (patch)
treefaee5263b0b92180a759b4d41e52ab47ed8d5a95 /cesar/bsu/test/utest
parent761ae5d824480fe15741b38c33ae7be58dd97d77 (diff)
cesar/bsu:call avln_identify when the BSU is unactivated, closes #2804
Diffstat (limited to 'cesar/bsu/test/utest')
-rw-r--r--cesar/bsu/test/utest/src/bsut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cesar/bsu/test/utest/src/bsut.c b/cesar/bsu/test/utest/src/bsut.c
index c327d6148f..2dda881d86 100644
--- a/cesar/bsu/test/utest/src/bsut.c
+++ b/cesar/bsu/test/utest/src/bsut.c
@@ -614,6 +614,8 @@ test_case_bsu_activate (test_t test)
{
bsu_test_t t;
bsu_test_init (&t);
+ /* bsu test init set a sync variable in poweron table. */
+ memset (&t.bsu->poweron, 0, sizeof (bsu_avln_t));
test_case_begin (test, "BSU activate");
test_begin (test, "Activate/deactivate")
{