David Lamparter | 5bb7e4d | 2013-02-26 17:53:30 +0100 | [diff] [blame] | 1 | set timeout 10 |
| 2 | set testprefix "testbgpcap " |
| 3 | set aborted 0 |
| 4 | set color 1 |
| 5 | |
| 6 | spawn "./testbgpcap" |
| 7 | |
| 8 | # proc simpletest { start } { |
| 9 | |
| 10 | simpletest "MP4: MP IP/Uni" |
| 11 | simpletest_nov6 "MPv6: MP IPv6/Uni" |
| 12 | simpletest "MP2: MP IP/Multicast" |
| 13 | simpletest_nov6 "MP3: MP IP6/MPLS-labeled VPN" |
| 14 | simpletest_nov6 "MP5: MP IP6/MPLS-VPN" |
| 15 | simpletest "MP6: MP IP4/MPLS-laveled VPN" |
| 16 | simpletest "MP8: MP unknown AFI/SAFI" |
| 17 | simpletest "MP-short: MP IP4/Unicast, length too short (< minimum)" |
| 18 | simpletest "MP-overflow: MP IP4/Unicast, length too long" |
| 19 | simpletest "caphdr: capability header, and no more" |
| 20 | simpletest "nodata: header, no data but length says there is" |
| 21 | simpletest "padded: valid, with padding" |
| 22 | simpletest "minsize: violates minsize requirement" |
| 23 | simpletest "ORF: ORF, simple, single entry, single tuple" |
| 24 | simpletest "ORF-many: ORF, multi entry/tuple" |
| 25 | simpletest "ORFlo: ORF, multi entry/tuple, hdr length too short" |
| 26 | simpletest "ORFlu: ORF, multi entry/tuple, length too long" |
| 27 | simpletest "ORFnu: ORF, multi entry/tuple, entry number too long" |
| 28 | simpletest "ORFno: ORF, multi entry/tuple, entry number too short" |
| 29 | simpletest "ORFpad: ORF, multi entry/tuple, padded to align" |
| 30 | simpletest "AS4: AS4 capability" |
| 31 | simpletest "GR: GR capability" |
| 32 | simpletest "GR-short: GR capability, but header length too short" |
| 33 | simpletest "GR-long: GR capability, but header length too long" |
| 34 | simpletest "GR-trunc: GR capability, but truncated" |
| 35 | simpletest "GR-empty: GR capability, but empty." |
| 36 | simpletest "MP-empty: MP capability, but empty." |
| 37 | simpletest "ORF-empty: ORF capability, but empty." |
| 38 | simpletest "AS4-empty: AS4 capability, but empty." |
| 39 | simpletest "dyn-empty: Dynamic capability, but empty." |
| 40 | simpletest "dyn-old: Dynamic capability (deprecated version)" |
| 41 | simpletest "Cap-singlets: One capability per Optional-Param" |
| 42 | simpletest "Cap-series: Series of capability, one Optional-Param" |
| 43 | simpletest "AS4more: AS4 capability after other caps (singlets)" |
| 44 | simpletest "AS4series: AS4 capability, in series of capabilities" |
| 45 | simpletest "AS4real: AS4 capability, in series of capabilities" |
| 46 | simpletest "AS4real2: AS4 capability, in series of capabilities" |
| 47 | simpletest "DynCap: Dynamic Capability Message, IP/Multicast" |
| 48 | simpletest "DynCapLong: Dynamic Capability Message, IP/Multicast, truncated" |
| 49 | simpletest "DynCapPadded: Dynamic Capability Message, IP/Multicast, padded" |
| 50 | simpletest "DynCapMPCpadded: Dynamic Capability Message, IP/Multicast, cap data padded" |
| 51 | simpletest "DynCapMPCoverflow: Dynamic Capability Message, IP/Multicast, cap data != length" |