]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(NFS): enable tests when dhclient is not available
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 14 Sep 2025 13:32:05 +0000 (09:32 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 14 Sep 2025 14:15:52 +0000 (10:15 -0400)
$USE_NETWORK dracut module needs to be added explicitly
when networking is required.

Follow-up to 16b5e37 .

.github/workflows/integration.yml
test/TEST-60-NFS/test.sh

index efae7af1fee2906701832e5f34b1b196db793c33..26f954dac07cce6ae7d303bf3100b3d3c4efd215 100644 (file)
@@ -171,11 +171,11 @@ jobs:
             matrix:
                 container:
                     - arch:latest
-                    - debian:latest
                     - fedora:latest
-                    - gentoo:latest
                     - opensuse:latest
                     - ubuntu:devel
+                network:
+                    - network-manager
                 test:
                     - "60"
         container:
index 969ae9af22042811f5e4cef914de944dd57623dd..2495a5746df52a8543366769e959a98e41df393f 100755 (executable)
@@ -227,7 +227,7 @@ test_run() {
 test_setup() {
     "$DRACUT" --tmpdir "$TESTDIR" \
         --add-confdir test-root \
-        -a "url-lib nfs" \
+        -a "$USE_NETWORK url-lib nfs" \
         -I "ip grep setsid" \
         -f "$TESTDIR"/initramfs.root || return 1