aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-05-06 11:02:00 +0200
committerBjörn Gustavsson <[email protected]>2014-06-05 13:46:28 +0200
commit82c208f42ba9263cc97e30558dc2564511e64c4d (patch)
tree986405c9f9aef83f07404c4f8419b96891325ba7 /lib/asn1/test
parentbf1f64b65555600aaed77dfd7392afcfe55b83b4 (diff)
downloadotp-82c208f42ba9263cc97e30558dc2564511e64c4d.tar.gz
otp-82c208f42ba9263cc97e30558dc2564511e64c4d.tar.bz2
otp-82c208f42ba9263cc97e30558dc2564511e64c4d.zip
(U)PER: Fix decoding of named INTEGER
Diffstat (limited to 'lib/asn1/test')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/Constraints.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Constraints.py b/lib/asn1/test/asn1_SUITE_data/Constraints.py
index 1fe658d2e2..3495cd841b 100644
--- a/lib/asn1/test/asn1_SUITE_data/Constraints.py
+++ b/lib/asn1/test/asn1_SUITE_data/Constraints.py
@@ -66,10 +66,12 @@ Wednesday ::= Day(wednesday)
Thing ::= INTEGER {fred (0),fred2 (1),fred3 (2)}
-
-
AnotherThing ::= Thing (fred | fred2)
+OneMoreThing ::= INTEGER {wilma(0), fred(1), betty(3), barney(2)}
+OneMoreThing-1 ::= OneMoreThing (wilma | fred)
+OneMoreThing-2 ::= OneMoreThing (fred | barney)
+
I ::= INTEGER (0|15..269) -- OTP-5457
X1 ::= INTEGER (1..4 | 8 | 10 | 20) -- OTP-9946