aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s017_malformed_frames.vec
| 1 | case malformed_frames |
| 2 | kind negative |
| 3 | exec host-logic |
| 4 | domain any |
| 5 | needs streams frames |
| 6 | # platform call frames: every malformed header is refused before any effect, in the ST2 order |
| 7 | frame A - 4F534846 1 => INVALID_ARG |
| 8 | frame A - 4F534846 1 1 => INVALID_ARG |
| 9 | frame A - 12345678 1 1 0 => INVALID_ARG |
| 10 | frame A - 4F534846 2 1 0 => NOT_SUPPORTED |
| 11 | frame A - 4F534846 0 1 0 => NOT_SUPPORTED |
| 12 | frame A - 4F534846 2 1 1 => NOT_SUPPORTED |
| 13 | frame A - 4F534846 1 1 1 => INVALID_ARG |
| 14 | frame A - 4F534846 1 0 0 => NOT_SUPPORTED |
| 15 | frame A - 4F534846 1 10 0 => NOT_SUPPORTED |
| 16 | frame A - 4F534846 1 FF 0 => NOT_SUPPORTED |
| 17 | frame A - 4F534846 1 FFFFFFFF00000001 0 => NOT_SUPPORTED |
| 18 | frame A - 4F534846 1 1 0 0 => INVALID_ARG |
| 19 | frame A - 4F534846 1 4 0 0 => INVALID_ARG |
| 20 | check empty |
| 21 | create R W A => OK |
| 22 | frame A - 4F534846 1 3 0 $W => INVALID_ARG |
| 23 | frame A "abc" 4F534846 1 3 0 $W 2 => INVALID_ARG |
| 24 | frame A "abc" 4F534846 1 3 0 $W 0 => OK n=3 |
| 25 | frame A "zz" 4F534846 1 2 0 $R 0 => OK n=2 |
| 26 | frame A - 4F534846 1 5 0 $R 1 2 => INVALID_ARG |
| 27 | frame A - 4F534846 1 5 0 $R 1 1 => OK |
| 28 | frame A - 4F534846 1 7F 0 $R => NOT_SUPPORTED |
| 29 | release B => OK n=1 |
| 30 | frame A - 4F534846 1 4 0 $R => OK |
| 31 | frame A - 4F534846 1 4 0 $R => STALE |
| 32 | frame A - 4F534846 1 1 0 => OK |
| 33 | check pipes=2 |
| 34 | close W => OK |
| 35 | sweep A => OK |
| 36 | check empty |