News for hackers. Stuff that matters.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by sph on Friday November 25, 2022 @10:16AM (#33743094)
> Maybe that's why the most recent commit as of right now is loaded with fixes of broken things

Are you saying that if Linux had tests, there would be no bugs?

Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by agent281 on Friday November 25, 2022 @10:38AM (#33743333)
I think that's a bit of a strawman. I don't think anyone says tests prevent all bugs. They can help fix some parts of the contract down and give you a place to check against regressions.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by sph on Friday November 25, 2022 @11:58AM (#33744336)
GP pointed out to a bug fix commit as proof that the kernel would benefit from having tests, so it's not that much of a straw man.