Lev Walkin | 791d3b7 | 2017-10-02 16:24:28 -0700 | [diff] [blame^] | 1 | |
| 2 | This directory contains test bundles for randomized testing. |
| 3 | Each file contains a number of related ASN.1 types with variations in |
| 4 | contstraints 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 | |