mount -a remounts tmpfs entries: bug or feature?

Denys Vlasenko vda.linux at googlemail.com
Wed Dec 10 22:27:00 UTC 2008


On Wednesday 10 December 2008 21:16, Cathey, Jim wrote:
> >The big advantage of if (FOO) instead of #if FOO is that you always
> >get to compile test all configurations (even if the code it later
> >eliminated by the compiled).
> >
> >That's a pretty big deal as the number of configuration settings go
> >up.
> 
> I can see how this would be.  I wonder if an appropriate solution
> would be to have, as part of the makefile system and associated
> with a usage convention, a manifold test target wherein the #if's
> were sed-ed into a run-time if() for a test (but thrown away)
> compilation?  Something like:
> 
> #.*if (.*) -> if (&1) {
> $.*else    -> } else {
> #.*endif   -> }

scripts/randomtest can be used to test random configs.
--
vda



More information about the busybox mailing list