Earlier quoted context omitted.
While I agree that it should be a standard feature, it is worth pointing out that operating systems tend to be more difficult and more expensive to run full tests for.
Yeah, the scope of things that an operating system needs to be able to do is basically, “all things that can be done on a computer”, so if you are trying to write full regression tests you are never going to hit all the possible combinations.
Alpine Linux is reducing dependencies on Busybox
81–87 of 87 posts
Re: Alpine Linux is reducing dependencies on Busybox
#82Earlier quoted context omitted.
Does that seem like a strong argument to you? Of course it's possible to make useless tests. It's possible to be injured by an airbag. It's possible to overdose on a drug that usually saves lives. That doesn't mean any of these things aren't generally beneficial, or that they should be foregone. As I said recently on Twitter, I've measured the likely cost of production bugs that were fixed early by static analysis, b…
I think it's a big assumption that the ROI of tests in general is in the same ballpark as the ROI of static analysis. In my experience, many tests written in commercial software engineering have ~zero or even negative ROI. This mostly applies to micro-level testing like unit tests; macro-level testing like integration tests can be fantastically valuable and I've even come to believe that they're the only type of test…
Which, if you're writing unit tests at the same time as the unit under test, leads naturally to pro-isolation, pro-modular designs, which are both easier to test, more reliable and generally have a more concise purpose.
Re: Alpine Linux is reducing dependencies on Busybox
#83Earlier quoted context omitted.
It's not even just that, but also that a lot of the things OSs do are painful to artificially test because they're on the edge of hardware and software, or involve building the abstractions that let other software run without worrying about those details. How do you make a CI job that tests that mdevd correctly handles enumerating devices and setting their /dev nodes correctly, when the edge cases are finicky hardwar…
Does mdevd not send a signal or command out, and get one back? If so, the hardware behavior can be simulated, as can timing issues.
Re: Alpine Linux is reducing dependencies on Busybox
#84Earlier quoted context omitted.
Oh, interesting! Anybody used s6? I like the theory, but for me what matters is mainly the practice.
We do - and have found it very reliable and I really like it :-) One of the members of our team finds it more complex when it comes to diagnosing why things aren't running/starting as expected, but that's also down to the complexity we have around s6 with other setup scripts (we use it to manage the full suite of processes in our product). Hence, they're not the biggest fan of it (and would talk negatively about it),…
Re: Alpine Linux is reducing dependencies on Busybox
#85Earlier quoted context omitted.
You can already install coreutils and udev over busybox, without busybox being removed.
And if you look under the hood, you will see that it's only possible because of a bunch of ad-hoc hacks, which is exactly what my proposal was about: level the playing field and make it possible to have alternatives _without_ the ad-hoc hacks.
Re: Alpine Linux is reducing dependencies on Busybox
#86Earlier quoted context omitted.
It saddens me too, but it still seems necessary. In my (quite long and varied) experience, most developers do not appreciate the value of regression tests. Therefore, reminders and positive reinforcement are still beneficial.
It is possible to make useless tests.
Re: Alpine Linux is reducing dependencies on Busybox
#87Earlier quoted context omitted.
And if you look under the hood, you will see that it's only possible because of a bunch of ad-hoc hacks, which is exactly what my proposal was about: level the playing field and make it possible to have alternatives _without_ the ad-hoc hacks.
Are you referring to the busybox symlink farm?