CVS commit: src/tests/kernel

"YAMAMOTO Takashi" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	yamt
Date:		Fri Mar 20 10:50:11 UTC 2026

Modified Files:
	src/tests/kernel: t_time_arith.c

Log Message:
tests/kernel/t_time_arith.c: update for the recent kernel change

the test updates in the recent change was for some reasons incomplete.
("itimer_transition: do not keep it_value unchanged after firing the event")
https://mail-index.netbsd.org/source-changes/2026/03/17/msg161046.html

this commit updates the rest of tests.

tested with a full build and then the following command:
```
  # chroot destdir
  # cd /usr/tests/kernel
  # atf-run t_time_arith > /dev/null
  # echo $?
  0
  #
```

test failures are pointed out by Taylor R Campbell
on source-changes-d.
https://mail-index.netbsd.org/source-changes-d/2026/03/18/msg014635.html
(the discussion is still ongoing, but this commit fixes
the test failure quickly. well, actually it was not that quick as
i had to calculate each expected values with bc.)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/kernel/t_time_arith.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.