Ask HN: Why the Linux Kernel doesn’t have unit tests?

Linux is present in a big percent of the devices on the planet, from smart phones to servers to IoT devices to (…). It’s fair enough to assume that bugs and/or regressions in it can (and will) affect big portions of these devices. This makes me wonder why aren’t there any unit tests in the kernel (and the different drivers in it; especially file system related). Or maybe there are and I just haven’t found them?
Story Published at: November 25, 2022 at 01:24PM