aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2014-01-04 15:06:02 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2014-01-04 15:06:02 +0100
commit1e142bf8e40e107f64dd7157b6d4e22aa4d9a298 (patch)
tree40824bd955d8b9dc45828f1ee3ec1a77a34f18aa
parent6791384eb3276840896e1f5908027c688ed9ae10 (diff)
fixup 6791384eb3276840896e1f5908027c688ed9ae10
-rw-r--r--tests/alloc/AllocTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp
index c6f9f216..80e8c344 100644
--- a/tests/alloc/AllocTest.cpp
+++ b/tests/alloc/AllocTest.cpp
@@ -334,17 +334,17 @@ static void test_alloc_b(bool ts0, bool ts1, bool ts2, bool ts3, bool ts4, bool
tfi = the_bts.tfi_find_free(GPRS_RLCMAC_UL_TBF, &trx_no, -1);
OSMO_ASSERT(tfi >= 0);
dl_tbf = tbf_alloc(bts, NULL, GPRS_RLCMAC_DL_TBF, tfi, trx_no, ms_class, 1);
+ OSMO_ASSERT(dl_tbf);
dl_tbf->m_tlli = 0x23;
dl_tbf->m_tlli_valid = true;
- OSMO_ASSERT(dl_tbf);
tfi = the_bts.tfi_find_free(GPRS_RLCMAC_UL_TBF, &trx_no, -1);
OSMO_ASSERT(tfi >= 0);
ul_tbf = tbf_alloc(bts, dl_tbf, GPRS_RLCMAC_UL_TBF, tfi, trx_no, ms_class, 0);
+ OSMO_ASSERT(ul_tbf);
ul_tbf->m_tlli = 0x23;
ul_tbf->m_tlli_valid = true;
ul_tbf->dir.ul.contention_resolution_done = 1;
- OSMO_ASSERT(ul_tbf);
OSMO_ASSERT(dl_tbf->first_common_ts == ul_tbf->first_common_ts);