From 4ce57a5addb979585ef3bae053d3e88c43586eba Mon Sep 17 00:00:00 2001 From: Jo Zzsi Date: Sun, 14 Sep 2025 09:32:05 -0400 Subject: [PATCH] test(NFS): enable tests when dhclient is not available $USE_NETWORK dracut module needs to be added explicitly when networking is required. Follow-up to 16b5e37 . --- .github/workflows/integration.yml | 4 ++-- test/TEST-60-NFS/test.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index efae7af1f..26f954dac 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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: diff --git a/test/TEST-60-NFS/test.sh b/test/TEST-60-NFS/test.sh index 969ae9af2..2495a5746 100755 --- a/test/TEST-60-NFS/test.sh +++ b/test/TEST-60-NFS/test.sh @@ -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 -- 2.47.3