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 / p018_limits.vec
| 1 | case limits |
| 2 | kind negative |
| 3 | # a full pool or a full capability table returns LIMIT and leaves nothing allocated |
| 4 | create R1 W1 A => OK |
| 5 | create R2 W2 A => OK |
| 6 | create R3 W3 A => OK |
| 7 | create R4 W4 A => OK |
| 8 | create X Y B => LIMIT |
| 9 | check pipes=4 |
| 10 | close R1 => OK |
| 11 | close W1 => OK |
| 12 | check pipes=3 |
| 13 | dup R2 D1 A r => OK |
| 14 | dup R2 D2 A r => OK |
| 15 | create X Y A => LIMIT |
| 16 | dup R2 D3 A r => LIMIT |
| 17 | check pipes=3 |
| 18 | release A => OK n=8 |
| 19 | check empty |