aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test-ranap.ok
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-05-01 15:42:19 +0200
committerHarald Welte <laforge@gnumonks.org>2016-05-01 15:44:13 +0200
commit14da5411a4fbe05eccff5b4f0934d52773a3f97a (patch)
tree9bfc31e9aa018774ef208a804f1402706541d855 /src/tests/test-ranap.ok
parentf764a15c2339d5b24f0258d6605d5c38229209cc (diff)
test-ranap: Add test case about constrained integer range decode
There was a bug in the asn1c/libffasn1c APER patch that caused constrained integer ranges to be decoded incorrectly. Add a test case for that to avoid people falling into that trap...
Diffstat (limited to 'src/tests/test-ranap.ok')
-rw-r--r--src/tests/test-ranap.ok2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test-ranap.ok b/src/tests/test-ranap.ok
index 430535c..63ad1f3 100644
--- a/src/tests/test-ranap.ok
+++ b/src/tests/test-ranap.ok
@@ -9,6 +9,8 @@ Encoded MaxBitRate 65535 to 40 ff fe
Encoded MaxBitRate 65536 to 40 ff ff
Encoded MaxBitRate 65537 to 80 01 00 00
Encoded MaxBitRate 16000000 to 80 f4 23 ff
+Encoded Cause Misc=115 to 42
+Decoded Cause Misc=115
==> DIRECT TRANSFER
<RANAP_IE>