THats not how testing is supposed to be done. Your supposed to test all cases, not just the happy case. Cars are tested for how they perform in crashes, even though crashes rarely happen compared to successful trips. Same for planes, trains, medicines and so on. Thats the very definition of engineering.
Well, yes, but it's impossible to do that even for relatively simple software
Thats the very definition of engineering.
Yes, it is. But there's no such thing as software "engineering" unless you're using MISRA-C and building safety-of-life systems. Do that, and you'll see some engineering. A bunch of hackers around the world throwing code into the Linux kernel meets no definition of engineering that I've ever seen.
How (Score:2)
Re: How (Score:2, Informative)
It only affects swap files. Most people use swap partitions on Linux. So nobody noticed.
Re: How (Score:2)
Re: (Score:3, Insightful)
You're supposed to test all cases,
Well, yes, but it's impossible to do that even for relatively simple software
Thats the very definition of engineering.
Yes, it is. But there's no such thing as software "engineering" unless you're using MISRA-C and building safety-of-life systems. Do that, and you'll see some engineering. A bunch of hackers around the world throwing code into the Linux kernel meets no definition of engineering that I've ever seen.
Re: (Score:2)
Re: (Score:2)
I'd argue that it is a rare use case - swap partitions are the default, or no swap at all given the large amount of RAM many have nowadays.
Re: (Score:2)
Re: (Score:2)
[citation needed]
"Rare" is a relative qualifier. A thousand machines out of a million is rare, a thousand out of two thousand is common.