d4a4eb
From 3b89c398895abe5fc62e3c9240718310222925ef Mon Sep 17 00:00:00 2001
d4a4eb
From: Lubomir Rintel <lkundrak@v3.sk>
d4a4eb
Date: Mon, 10 Jun 2019 16:04:33 +0200
d4a4eb
Subject: [PATCH] test/IFCFG: make sure the network-legacy plugin is being used
d4a4eb
d4a4eb
If the network-manager plugin is used instead, it wouldn't write out
d4a4eb
ifcfg files and we wouldn't have anything to check.
d4a4eb
d4a4eb
While at that, also enable the test.
d4a4eb
d4a4eb
(cherry picked from commit 2b1b3bcdcb0ddaa18337f18da515adb6284df0ab)
d4a4eb
---
d4a4eb
 .travis.yml                | 1 +
d4a4eb
 README.md                  | 1 +
d4a4eb
 test/TEST-60-IFCFG/test.sh | 2 +-
d4a4eb
 3 files changed, 3 insertions(+), 1 deletion(-)
d4a4eb
d4a4eb
diff --git a/.travis.yml b/.travis.yml
d4a4eb
index 364078cf..37002e9a 100644
d4a4eb
--- a/.travis.yml
d4a4eb
+++ b/.travis.yml
d4a4eb
@@ -11,6 +11,7 @@ env:
d4a4eb
   - IMAGE=latest TESTS=50
d4a4eb
   - IMAGE=latest TESTS=30
d4a4eb
   - IMAGE=latest TESTS=31
d4a4eb
+  - IMAGE=latest TESTS=60
d4a4eb
   - IMAGE=latest TESTS=70
d4a4eb
   - IMAGE=latest TESTS=99
d4a4eb
   - IMAGE=latest TESTS=02
d4a4eb
diff --git a/README.md b/README.md
d4a4eb
index 36ae7e1b..530f1c1b 100644
d4a4eb
--- a/README.md
d4a4eb
+++ b/README.md
d4a4eb
@@ -27,4 +27,5 @@ dracut is an initramfs infrastructure.
d4a4eb
 - Test 31: [![Test 31](https://ci.centos.org/job/dracut-matrix-master/TESTS=31,label=dracut-ci-slave01/badge/icon)](https://ci.centos.org/job/dracut-matrix-master/TESTS=31,label=dracut-ci-slave01/)
d4a4eb
 - Test 40: [![Test 40](https://ci.centos.org/job/dracut-matrix-master/TESTS=40,label=dracut-ci-slave01/badge/icon)](https://ci.centos.org/job/dracut-matrix-master/TESTS=40,label=dracut-ci-slave01/)
d4a4eb
 - Test 50: [![Test 50](https://ci.centos.org/job/dracut-matrix-master/TESTS=50,label=dracut-ci-slave01/badge/icon)](https://ci.centos.org/job/dracut-matrix-master/TESTS=50,label=dracut-ci-slave01/)
d4a4eb
+- Test 60: [![Test 60](https://ci.centos.org/job/dracut-matrix-master/TESTS=60,label=dracut-ci-slave01/badge/icon)](https://ci.centos.org/job/dracut-matrix-master/TESTS=60,label=dracut-ci-slave01/)
d4a4eb
 - Test 70: [![Test 70](https://ci.centos.org/job/dracut-matrix-master/TESTS=70,label=dracut-ci-slave01/badge/icon)](https://ci.centos.org/job/dracut-matrix-master/TESTS=70,label=dracut-ci-slave01/)
d4a4eb
diff --git a/test/TEST-60-IFCFG/test.sh b/test/TEST-60-IFCFG/test.sh
d4a4eb
index 8c11a7d3..8e8bd982 100755
d4a4eb
--- a/test/TEST-60-IFCFG/test.sh
d4a4eb
+++ b/test/TEST-60-IFCFG/test.sh
d4a4eb
@@ -316,7 +316,7 @@ test_setup() {
d4a4eb
     $basedir/dracut.sh -l -i "$TESTDIR"/overlay / \
d4a4eb
         --no-early-microcode \
d4a4eb
         -o "plymouth" \
d4a4eb
-        -a "debug" \
d4a4eb
+        -a "debug network-legacy" \
d4a4eb
         -d "ipvlan macvlan af_packet piix sd_mod sr_mod ata_piix ide-gd_mod e1000 nfsv2 nfsv3 nfsv4 nfs_acl nfs_layout_nfsv41_files sunrpc i6300esb ib700wdt" \
d4a4eb
         --no-hostonly-cmdline -N \
d4a4eb
         -f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
d4a4eb