diff options
author | Björn Gustavsson <[email protected]> | 2013-02-06 13:27:42 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-02-14 16:04:57 +0100 |
commit | 353f78b6e1f786e3f0f4b335c79146e1cfd38210 (patch) | |
tree | a649ac0736457b74b9285543d8108dac0c3812ed /lib | |
parent | d9b269936c18f613a95e7d28d1c3ad9729a84690 (diff) | |
download | otp-353f78b6e1f786e3f0f4b335c79146e1cfd38210.tar.gz otp-353f78b6e1f786e3f0f4b335c79146e1cfd38210.tar.bz2 otp-353f78b6e1f786e3f0f4b335c79146e1cfd38210.zip |
Add NullTest
Was broken in some backends in R15. Make sure that we will notice
if it breaks again.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/asn1/test/asn1_SUITE.erl | 1 | ||||
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/NullTest.asn1 | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl index 8479566027..4f4c972c49 100644 --- a/lib/asn1/test/asn1_SUITE.erl +++ b/lib/asn1/test/asn1_SUITE.erl @@ -1121,6 +1121,7 @@ test_modules() -> "Int", "MAP-commonDataTypes", "Null", + "NullTest", "Octetstr", "One", "P-Record", diff --git a/lib/asn1/test/asn1_SUITE_data/NullTest.asn1 b/lib/asn1/test/asn1_SUITE_data/NullTest.asn1 new file mode 100644 index 0000000000..041b20a4c1 --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/NullTest.asn1 @@ -0,0 +1,14 @@ +NullTest DEFINITIONS ::= +BEGIN + +NullTestData ::= SEQUENCE { + body NullBody, + tail INTEGER +} + +NullBody ::= CHOICE { + null [0] NULL, + notNull [1] INTEGER +} + +END |