aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / native / kernel / tests / fixtures / pipe / p001_nul_payload.vec
| 1 | case nul_payload |
| 2 | kind positive |
| 3 | # bytes including NUL and 0xFF pass byte for byte; last writer closed -> EOF once drained |
| 4 | create R W A => OK |
| 5 | write W "a\x00b\x00\xff\x00" => OK n=6 |
| 6 | read R 16 => OK n=6 data="a\x00b\x00\xff\x00" |
| 7 | close W => OK |
| 8 | read R 16 => OK n=0 |
| 9 | check eof=1 bytes_written=6 bytes_read=6 |
| 10 | close R => OK |
| 11 | check empty |