interplane.Get Omega
Read in your language

aien-protocols-mv

Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem

Brought by drakestapleton

branch main Branches Tags History

aien-protocols-mv / specs / osh-platform / vectors / s017_malformed_frames.vec

36 lines · 1244 bytes Raw Blame History
1case malformed_frames
2kind negative
3exec host-logic
4domain any
5needs streams frames
6# platform call frames: every malformed header is refused before any effect, in the ST2 order
7frame A - 4F534846 1 => INVALID_ARG
8frame A - 4F534846 1 1 => INVALID_ARG
9frame A - 12345678 1 1 0 => INVALID_ARG
10frame A - 4F534846 2 1 0 => NOT_SUPPORTED
11frame A - 4F534846 0 1 0 => NOT_SUPPORTED
12frame A - 4F534846 2 1 1 => NOT_SUPPORTED
13frame A - 4F534846 1 1 1 => INVALID_ARG
14frame A - 4F534846 1 0 0 => NOT_SUPPORTED
15frame A - 4F534846 1 10 0 => NOT_SUPPORTED
16frame A - 4F534846 1 FF 0 => NOT_SUPPORTED
17frame A - 4F534846 1 FFFFFFFF00000001 0 => NOT_SUPPORTED
18frame A - 4F534846 1 1 0 0 => INVALID_ARG
19frame A - 4F534846 1 4 0 0 => INVALID_ARG
20check empty
21create R W A => OK
22frame A - 4F534846 1 3 0 $W => INVALID_ARG
23frame A "abc" 4F534846 1 3 0 $W 2 => INVALID_ARG
24frame A "abc" 4F534846 1 3 0 $W 0 => OK n=3
25frame A "zz" 4F534846 1 2 0 $R 0 => OK n=2
26frame A - 4F534846 1 5 0 $R 1 2 => INVALID_ARG
27frame A - 4F534846 1 5 0 $R 1 1 => OK
28frame A - 4F534846 1 7F 0 $R => NOT_SUPPORTED
29release B => OK n=1
30frame A - 4F534846 1 4 0 $R => OK
31frame A - 4F534846 1 4 0 $R => STALE
32frame A - 4F534846 1 1 0 => OK
33check pipes=2
34close W => OK
35sweep A => OK
36check empty