diff options
author | Björn Gustavsson <[email protected]> | 2013-11-27 16:08:03 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-01-20 12:22:41 +0100 |
commit | b39df70c54036dae66bec08402308ba094bdd3e5 (patch) | |
tree | b9d42ea372417abbd91fb583df6411094116168a /lib/asn1/test/testSeqPrim.erl | |
parent | 1a3d2435e28d0dcb5e8f5a4bcd82c8b3d2db495b (diff) | |
download | otp-b39df70c54036dae66bec08402308ba094bdd3e5.tar.gz otp-b39df70c54036dae66bec08402308ba094bdd3e5.tar.bz2 otp-b39df70c54036dae66bec08402308ba094bdd3e5.zip |
Test open types that may need more than 128 bytes
Diffstat (limited to 'lib/asn1/test/testSeqPrim.erl')
-rw-r--r-- | lib/asn1/test/testSeqPrim.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/asn1/test/testSeqPrim.erl b/lib/asn1/test/testSeqPrim.erl index eb21d50a37..46bac77910 100644 --- a/lib/asn1/test/testSeqPrim.erl +++ b/lib/asn1/test/testSeqPrim.erl @@ -25,6 +25,7 @@ -record('Seq',{bool, boolCon, boolPri, boolApp, boolExpCon, boolExpPri, boolExpApp}). -record('Empty',{}). +-record('Big', {os1,os2,os3}). main(_Rules) -> roundtrip('Seq', #'Seq'{bool=true,boolCon=true,boolPri=true,boolApp=true, @@ -35,6 +36,9 @@ main(_Rules) -> roundtrip('Seq', #'Seq'{bool=false,boolCon=true,boolPri=false,boolApp=true, boolExpCon=false,boolExpPri=true,boolExpApp=false}), roundtrip('Empty', #'Empty'{}), + roundtrip('Big', #'Big'{os1=lists:duplicate(120, 16#A5), + os2=lists:duplicate(128, 16#A7), + os3=lists:duplicate(17777, 16#F5)}), ok. roundtrip(Type, Value) -> |