]> git.ipfire.org Git - thirdparty/dracut.git/commit
test: do not bring up the network interface if it is not needed
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Wed, 17 Aug 2022 04:23:08 +0000 (04:23 +0000)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Thu, 29 Sep 2022 05:44:19 +0000 (05:44 +0000)
commit31c4aac32dfff6d2e8911974d6a272bbfa90c19b
tree65ab32573451023edd8ce9c14ab67c9df896a7ba
parente2fdb30b56305aed9d3be32f394352c7c3fdbcef
test: do not bring up the network interface if it is not needed

Notice that TEST-04 does not explicitelly includes dhclient
and dhclient-script for the rootfs.

Apply the same principle for all local tests that do not
need networking.

This should make the tests run faster and slightly more reliable.

This change also brings us to a better place where network-legacy
files are only gets included via proper dracut module inclusion.
test/TEST-01-BASIC/test.sh
test/TEST-02-SYSTEMD/test.sh
test/TEST-03-USR-MOUNT/test.sh
test/TEST-10-RAID/test.sh
test/TEST-11-LVM/test.sh
test/TEST-12-RAID-DEG/test.sh
test/TEST-13-ENC-RAID-LVM/test.sh
test/TEST-14-IMSM/test.sh
test/TEST-15-BTRFSRAID/test.sh
test/TEST-17-LVM-THIN/test.sh