blob: 29c1aab8b10ff7ae91e39a2b7772655079d41ab6 [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
17 (perhaps due to large constraints), the RMAX=<size> prefix can be specified
18 on a line:
19
20 RMAX=64000 T ::= VisibleString (SIZE(64000))
21
22