Skip to content

More test suite stuff (and bug fixes)

David Dillow initramfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11NFS test: verify that we used the right IP to get to the servertest/TEST-20-NFS/client-init test/TEST-20-NFS/dhcpd.conf test/TEST-20-NFS/hosts +2 more+42 -220 replies
2/11NFS test: add support for checking mount options usedtest/TEST-20-NFS/dhcpd.conf test/TEST-20-NFS/test.sh+70 -150 replies
3/11NFS test: renumber MAC addresses to ease adding new test casestest/TEST-20-NFS/dhcpd.conf test/TEST-20-NFS/test.sh+22 -120 replies
4/11NFS root: add missing DHCP root-path/nfsroot=[IP:]/path[,options] formatmodules.d/95nfs/nfs-netroot.sh+16 -00 replies
5/11NFS test: add test cases for DHCP/nfsroot=[IP:]/path[,options]test/TEST-20-NFS/dhcpd.conf test/TEST-20-NFS/test.sh+123 -00 replies
6/11NFS test: separate NFSv3 and NFSv4 tests into their own functionstest/TEST-20-NFS/test.sh+13 -60 replies
7/11NFS root: add support for default root path and %s substitutionmodules.d/95nfs/nfs-netroot.sh modules.d/95nfs/nfsroot test/TEST-20-NFS/exports +2 more+39 -00 replies
8/11dracut init: add rdnetdebug to exclude listmodules.d/99base/init+1 -00 replies
9/11NFS test: add test for nfs[4]:srv:/path syntaxtest/TEST-20-NFS/test.sh+7 -00 replies
10/11NBD: fix parsing of Debian-style nbdroot configmodules.d/95nbd/parse-nbdroot.sh+1 -10 replies
11/11NBD: add test suitetest/TEST-40-NBD/Makefile test/TEST-40-NBD/client-init test/TEST-40-NBD/dhcpd.conf +4 more+256 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] More test suite stuff (and bug fixes)

This add more comprehensive tests to the NFS test suite, such as verifying that we used the right server IP address, and that we added mount options appropriately. It may be a bit too comprehensive, as it takes over 7 minutes to run for me.

Also of note, I addded support for a default NFS path and %s substitution as done by the kernel's nfsroot handling.

This also has the first round of testing for NBD root, and a fix for a bug found by the test suite.

David Dillow (11):
NFS test: verify that we used the right IP to get to the server NFS test: add support for checking mount options used NFS test: renumber MAC addresses to ease adding new test cases NFS root: add missing DHCP root-path/nfsroot=[IP:]/path[,options]
format
NFS test: add test cases for DHCP/nfsroot=[IP:]/path[,options] NFS test: separate NFSv3 and NFSv4 tests into their own functions NFS root: add support for default root path and %s substitution dracut init: add rdnetdebug to exclude list
NFS test: add test for nfs[4]:srv:/path syntax
NBD: fix parsing of Debian-style nbdroot config
NBD: add test suite

 modules.d/95nbd/parse-nbdroot.sh |    2 +-
 modules.d/95nfs/nfs-netroot.sh   |   17 ++++
 modules.d/95nfs/nfsroot          |   14 +++
 modules.d/99base/init            |    1 +
 test/TEST-20-NFS/client-init     |    6 +-
 test/TEST-20-NFS/dhcpd.conf      |  118 +++++++++++++++++++++++--
 test/TEST-20-NFS/exports         |    3 +
 test/TEST-20-NFS/hosts           |    2 +
 test/TEST-20-NFS/server-init     |    5 +
 test/TEST-20-NFS/test.sh         |  180 ++++++++++++++++++++++++++++++++------
 test/TEST-40-NBD/Makefile        |   10 ++
 test/TEST-40-NBD/client-init     |   10 ++
 test/TEST-40-NBD/dhcpd.conf      |   29 ++++++
 test/TEST-40-NBD/hard-off.sh     |    2 +
 test/TEST-40-NBD/hosts           |    8 ++
 test/TEST-40-NBD/server-init     |   18 ++++
 test/TEST-40-NBD/test.sh         |  179 +++++++++++++++++++++++++++++++++++++
 17 files changed, 569 insertions(+), 35 deletions(-)
 create mode 100644 test/TEST-40-NBD/Makefile
 create mode 100755 test/TEST-40-NBD/client-init
 create mode 100644 test/TEST-40-NBD/dhcpd.conf
 create mode 100755 test/TEST-40-NBD/hard-off.sh
 create mode 100644 test/TEST-40-NBD/hosts
 create mode 100755 test/TEST-40-NBD/server-init
 create mode 100755 test/TEST-40-NBD/test.sh

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html