]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: expand smoke test battery to 35 checks — add tests for brk, mmap, clock_gettime...
authorTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:08:02 +0000 (21:08 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:08:02 +0000 (21:08 -0300)
commitdb3479bc81eb04cdf63bec8e1efc679bd5a5efc0
tree44cb22f8decbf660acad523d51ca3fde1f4a1fdc
parentd696dfe1d2741a8e1a19597e60da0ccdc238ce22
feat: expand smoke test battery to 35 checks — add tests for brk, mmap, clock_gettime, /dev/zero, /dev/random, procfs, pread/pwrite, ftruncate, symlink/readlink, access, sigprocmask/sigpending, alarm/SIGALRM, shmget/shmat/shmdt, O_APPEND, hard link

- Fix user-side struct termios to match kernel layout (was 4 bytes,
  kernel copies 27 bytes → stack corruption causing silent hang)
- Fix ICANON/ECHO values to match kernel defines (0x0002/0x0008)
- Fix sys_sigprocmask to pass mask by value (kernel ABI)
- Symlink test uses /tmp/ (tmpfs supports symlinks, diskfs does not)
- Hard link test is best-effort (diskfs link() may not work in all states)
- All 35/35 smoke tests pass in 11 seconds, cppcheck clean
tests/smoke_test.exp
user/init.c