aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lapd
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-06-19 08:30:59 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-06-19 08:30:59 +0200
commit3cc268c8dafda560c026c8144ae47b36e71fe5b5 (patch)
tree6dd61d2f4f95e2907ad48d16595834126048adb0 /tests/lapd
parentdd34ed5b904a715a6ed742b635ed44c2b9b0b564 (diff)
lapd: Upate the assert to OSMO_ASSERT and describe what we would like to have
Update the OSMO_ASSERT to what it should be like but can't due a known issue in the LAPDm code.
Diffstat (limited to 'tests/lapd')
-rw-r--r--tests/lapd/lapd_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lapd/lapd_test.c b/tests/lapd/lapd_test.c
index 4d91fee..1f986bc 100644
--- a/tests/lapd/lapd_test.c
+++ b/tests/lapd/lapd_test.c
@@ -243,8 +243,8 @@ static int ms_to_bts_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *_ctx
/* Verify the added RSL_IE_L3_INFO but we have a bug here */
OSMO_ASSERT(msg->data[6] == RSL_IE_L3_INFO);
#warning "RSL_IE_L3_INFO 16 bit length is wrong"
- /* ASSERT(msg->data[7] == 0x0 && msg->data[8] == 0x0c); */
- /* this should be 0x0 and 0x0... but we have a bug */
+ /* This should be okay but it is actually 0x0, 0x9c on ia-32 */
+ /* OSMO_ASSERT(msg->data[7] == 0x0 && msg->data[8] == 0x0); */
} else if (state->ms_read == 1) {
printf("MS: Verifying incoming MM message: %d\n", msgb_l3len(msg));
OSMO_ASSERT(msgb_l3len(msg) == 3);