]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
test: expand smoke tests from 35 to 41 checks
authorTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 04:57:35 +0000 (01:57 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 04:57:35 +0000 (01:57 -0300)
commita488b1349d7c90051c5c3160435bf0a437780f10
treed764cc79b097903e7d03c5bd45c9db870117ee70
parent914998cf5238a6405271478e815a4db89e55a2ec
test: expand smoke tests from 35 to 41 checks

New init.elf test cases:
- umask: set/get round-trip verification
- pipe capacity: F_GETPIPE_SZ / F_SETPIPE_SZ (fixed constant 1033)
- waitid: P_PID + WEXITED on forked child
- setitimer/getitimer: ITIMER_REAL set, query, cancel
- select regfile: select() on regular file returns immediately readable
- poll regfile: poll() on regular file returns POLLIN

Added syscall wrappers: sys_umask, sys_setitimer, sys_getitimer, sys_waitid
Added types: struct timeval, struct itimerval, P_ALL/P_PID/P_PGID/WEXITED

smoke_test.exp: 6 new patterns added (41 total)

Results: 41/41 smoke, 16/16 battery, 47/47 host tests pass
tests/smoke_test.exp
user/init.c