]> 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)
commitc13913fabb7de8ad5e6d7087253f4b26e3e491ab
tree777f9b44f1e67b1194402d4abc0d58312851cf2a
parent5490dfce3a33820735e56d30f4348f60b1189b3b
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