Commit Graph

18 Commits

Author SHA1 Message Date
Harald Hoyer
5db734030d omit plymouth and add debug module for the testsuite clients 2009-07-02 11:47:27 +02:00
Warren Togami
f910f00627 Remove the NBD legacy format. It wasn't actually matching Debian's nbdroot implementation.
Talked with Debian nbdroot author and he agreed we shouldn't support their obsolete syntax in dracut.
Their root=/dev/nbd[0-9] is no longer needed.  Also their syntax was very standardized requiring
a separate boot= parameter.
2009-07-01 15:41:26 -04:00
Harald Hoyer
ada0bc3e5f use different multicast ports for the different testsuites 2009-07-01 21:32:33 +02:00
Harald Hoyer
6fb586f3ef omit the plymouth module in the testsuite 2009-07-01 19:28:51 +02:00
Harald Hoyer
5831685cdb use _all_ modules to run the test, in case another module fails
also run the tests with 256MB virtual machines
2009-07-01 19:28:51 +02:00
Harald Hoyer
3af5866a26 use 128M for the test virtual machines instead of 512M 2009-06-18 15:06:31 +02:00
Harald Hoyer
9ca74ffef3 kill the server after the test_run 2009-06-18 15:06:26 +02:00
Philippe Seewer
50e7ff76de netroot: Introduce detailed cmdline parsers
This introduces detailed cmdline parsing, warning or aborting if the
cmdline does not contain arguments according to the spec.

Makeing sure the parsers don't just call getarg for netroot et al,
allows their reuse inside netroot to analyse dhcp root-path as well.
Hence we can get rid of the current netroot hooks. The hook itself stays
in order to add further modules which should run before netroot handlers
are called.

This has one drawback: nfsroot needs some more logic to handle nfs
specific data inside dhcp root-path.

The parsers have been writting according to current discussions about
cmdline arguments. This lead to the "discovery" that some test-cases
violate the spec. These tests have not been removed, but change to
"must fail".
2009-06-17 08:37:40 +02:00
Philippe Seewer
45630db1a7 TEST: Add dhcpd support for debian based distros
Debian based distros use dhcpd3 instead of just dhcpd. Accordingly
paths to lease files etc are different as well. This patch ensures
that the test-suite can run with either dhcpd or dhcpd3.
2009-06-17 08:37:38 +02:00
Philippe Seewer
5634fc9fef NBD Test: Server initramfs does not need modules crypt, lvm and mdraim 2009-06-17 08:37:38 +02:00
Philippe Seewer
11f90138cd NBD Test: Don't start a shell inside the server 2009-06-17 08:37:38 +02:00
Warren Togami
9f786a9d8f Simple changes to allow test suite to work with dash. 2009-06-15 16:26:11 -04:00
David Dillow
8bd5873ffc NBD root: add support for LVM/LUKS
With this change, we can now use LUKS and LVM over NBD. There are
some decisions to be made regarding where we should get the fstype
and fsoptions from (DHCP root vs rootfstype= etc), but the basic
functionality is there.
2009-06-11 01:47:11 -04:00
David Dillow
aec48753c2 network: add support for netroot=...
This adds support for a command line option netroot=, which is currently
equivalent to root=. This will allow us to break out handling in NBD and
iSCSI to support constructs such as "root=LABEL=/ netroot=dhcp" to make
use of our block device handling with network attached devices.

iSCSI has not been changed in this patch as I don't currently have a way
to test it.
2009-06-11 01:47:11 -04:00
David Dillow
a29f15a5b6 NBD test: add more option parsing tests 2009-06-11 01:46:05 -04:00
Harald Hoyer
44ec5f7229 specify dhcpd.conf path for test server 2009-06-08 14:49:00 +02:00
Harald Hoyer
b2c5f5dc72 s/NFS/NBD 2009-06-08 14:48:39 +02:00
David Dillow
9ecbe2e4d4 NBD: add test suite
This is an initial test suite for the NBD root. It does the basics, and
needs to be extended to check more parts of the configuration.
2009-06-08 00:28:52 -04:00