David Dillow wrote:
[snip]
Additionally we could use -net tap* instead of -net socket, which would
allow brctl setfd of a large value like 20 seconds to simulate the link
delay in the test suite.
There is merit here, but I think we probably need to have a separate
test suite to check the ip= option parsing. I haven't thought much how
it should be done, other than it seems like we could use a pre-mount
hook to check the configuration without needing to actually mount a real
root.
If we have that test suite, then doing PXE boot or emulating BOOTIF=
seems like a good idea. And I'd rather add a 20+ second delay to one or
two tests here rather than every network root test we do.
I used an ugly copy of the nfs test suite to test ip= options handling.
I'll try to make time this evening to clean it up and post it.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html