blob: e962eed70fc453e1060f9b71b7b0ef9973577ca6 [file] [log] [blame]
Lev Walkin791d3b72017-10-02 16:24:28 -07001
2This directory contains test bundles for randomized testing.
3Each file contains a number of related ASN.1 types with variations in
4contstraints that are intended to affect encoding and parsing.
5
6 * Lines consisting of comments only are ignored.
7
8 * The ASN.1 type can be written with "T ::=" prefix or without it, in which
9 case it will be added automatically. It is done to simplify manual
10 testing with ./check-bundles.sh -t <type>. For example,
11 ./check-bundles.sh -t INTEGER
12 is equivalent to
13 ./check-bundles.sh -t "T ::= INTEGER"
14
15 * By default, the random value generator attempts to generate values
16 limited to very roughly to around 128 bytes. If huge values are desired
Lev Walkin5d947a82017-10-03 01:04:03 -070017 (perhaps due to large constraints), the RMAX=<size> setting can be specified
18 in the ASN.1 comments:
Lev Walkin791d3b72017-10-02 16:24:28 -070019
Lev Walkin5d947a82017-10-03 01:04:03 -070020 T ::= VisibleString (SIZE(64000)) -- RMAX=64000
Lev Walkin791d3b72017-10-02 16:24:28 -070021
22