e83cdd
From 3b89c398895abe5fc62e3c9240718310222925ef Mon Sep 17 00:00:00 2001
e83cdd
From: Lubomir Rintel <lkundrak@v3.sk>
e83cdd
Date: Mon, 10 Jun 2019 16:04:33 +0200
e83cdd
Subject: [PATCH] test/IFCFG: make sure the network-legacy plugin is being used
e83cdd
e83cdd
If the network-manager plugin is used instead, it wouldn't write out
e83cdd
ifcfg files and we wouldn't have anything to check.
e83cdd
e83cdd
While at that, also enable the test.
e83cdd
e83cdd
(cherry picked from commit 2b1b3bcdcb0ddaa18337f18da515adb6284df0ab)
e83cdd
---
e83cdd
 .travis.yml                | 1 +
e83cdd
 README.md                  | 1 +
e83cdd
 test/TEST-60-IFCFG/test.sh | 2 +-
e83cdd
 3 files changed, 3 insertions(+), 1 deletion(-)
e83cdd
e83cdd
diff --git a/.travis.yml b/.travis.yml
e83cdd
index 364078cf..37002e9a 100644
e83cdd
--- a/.travis.yml
e83cdd
+++ b/.travis.yml
e83cdd
@@ -11,6 +11,7 @@ env:
e83cdd
   - IMAGE=latest TESTS=50
e83cdd
   - IMAGE=latest TESTS=30
e83cdd
   - IMAGE=latest TESTS=31
e83cdd
+  - IMAGE=latest TESTS=60
e83cdd
   - IMAGE=latest TESTS=70
e83cdd
   - IMAGE=latest TESTS=99
e83cdd
   - IMAGE=latest TESTS=02
e83cdd
diff --git a/README.md b/README.md
e83cdd
index 36ae7e1b..530f1c1b 100644
e83cdd
--- a/README.md
e83cdd
+++ b/README.md
e83cdd
@@ -27,4 +27,5 @@ dracut is an initramfs infrastructure.
e83cdd
 - 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/)
e83cdd
 - 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/)
e83cdd
 - 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/)
e83cdd
+- 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/)
e83cdd
 - 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/)
e83cdd
diff --git a/test/TEST-60-IFCFG/test.sh b/test/TEST-60-IFCFG/test.sh
e83cdd
index 8c11a7d3..8e8bd982 100755
e83cdd
--- a/test/TEST-60-IFCFG/test.sh
e83cdd
+++ b/test/TEST-60-IFCFG/test.sh
e83cdd
@@ -316,7 +316,7 @@ test_setup() {
e83cdd
     $basedir/dracut.sh -l -i "$TESTDIR"/overlay / \
e83cdd
         --no-early-microcode \
e83cdd
         -o "plymouth" \
e83cdd
-        -a "debug" \
e83cdd
+        -a "debug network-legacy" \
e83cdd
         -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" \
e83cdd
         --no-hostonly-cmdline -N \
e83cdd
         -f "$TESTDIR"/initramfs.testing "$KVERSION" || return 1
e83cdd