summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest/src/bsut.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2010-10-12 10:06:19 +0200
committerNélio Laranjeiro2010-10-20 17:05:21 +0200
commit1a175608f484ae9abc977b63a05b615968e678ba (patch)
treebf432dd2580e2c91f5c38e17ebd21b5c74e5d181 /cesar/bsu/test/utest/src/bsut.c
parente6b4b45b425bac2b9cfe49541f87531a3b544ce3 (diff)
cesar/bsu: when removing track avln restore poweron data, closes #1949
Diffstat (limited to 'cesar/bsu/test/utest/src/bsut.c')
-rw-r--r--cesar/bsu/test/utest/src/bsut.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cesar/bsu/test/utest/src/bsut.c b/cesar/bsu/test/utest/src/bsut.c
index dba57c8913..03b2abdd60 100644
--- a/cesar/bsu/test/utest/src/bsut.c
+++ b/cesar/bsu/test/utest/src/bsut.c
@@ -194,7 +194,10 @@ test_case_bsu_process (test_t test)
test_fail_unless (avln != NULL);
test_fail_unless (avln != t.bsu->sta_avln);
blk_release_desc ((blk_t*) b);
+ bsu_track_avln (beacon.vf.nid, brx.snid, 1);
+ test_fail_unless (avln == t.bsu->sta_avln);
bsu_avln_remove (beacon.vf.nid, brx.snid);
+ test_fail_unless (&t.bsu->poweron == t.bsu->sta_avln);
}
}
test_end;