aboutsummaryrefslogtreecommitdiffstats
path: root/tests/alloc/AllocTest.err
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-09 11:35:50 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-16 10:25:14 +0200
commit61205a7e6539b3926c3039e8dcabda6aa9b408ef (patch)
tree3c282b86932ba1f4005299463d96f987ec208d5d /tests/alloc/AllocTest.err
parent57cf69a18ccceac4b250dceb56c4e0d5f0018a95 (diff)
alloc/test: Check for TFI conflicts
This commit adds the check_tfi_usage function that checks the TFI usage. It iterates through all TBFs, records on which PDCH it uses which TFI and check for conflicts. It also checks the bits returned by pdch->assigned_tfi(). The latter suffers from an bug in that method (no separation of uplink and downlink), so a conditional fprintf is used instead of an assertion. The method tfi_find_free is checked for conflicts after allocations. Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/alloc/AllocTest.err')
-rw-r--r--tests/alloc/AllocTest.err24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/alloc/AllocTest.err b/tests/alloc/AllocTest.err
index af9b134..34ef756 100644
--- a/tests/alloc/AllocTest.err
+++ b/tests/alloc/AllocTest.err
@@ -1,6 +1,8 @@
No TFI available.
+No TFI available.
- Failed to allocate a TS, no USF available
No TFI available.
+No TFI available.
- Failed to allocate a TS, no USF available
No TFI available.
No TFI available.
@@ -17,3 +19,25 @@ No TFI available.
No TFI available.
No TFI available.
No TFI available.
+No TFI available.
+ERROR: TFI not marked as used in PDCH
+No TFI available.
+No TFI available.
+ERROR: TFI not marked as used in PDCH
+ERROR: TFI not marked as used in PDCH
+ERROR: TFI not marked as used in PDCH
+ERROR: TFI not marked as used in PDCH
+No TFI available.
+No TFI available.
+ERROR: TFI not marked as used in PDCH
+No TFI available.
+No TFI available.
+ERROR: TFI not marked as used in PDCH
+No TFI available.
+No TFI available.
+No TFI available.
+No TFI available.
+No TFI available.
+No TFI available.
+No TFI available.
+No TFI available.