]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: drop including missing overlay in server initrd
authorBenjamin Drung <benjamin.drung@canonical.com>
Fri, 31 Oct 2025 16:28:35 +0000 (17:28 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Fri, 31 Oct 2025 16:53:25 +0000 (12:53 -0400)
The tests 71 and 72 shows following warning when generating
`initramfs.server`:

```
dracut[E]: /var/tmp/dracut-test.zfcBR5/overlay doesn't exist
```

There is no overlay directory for the server initrd. Commit
c855fa1ee5c0f01da91bb7724c9dd2f4adb3b50e ("test(NFS): drop including
missing overlay in server initrd") fixed it for test 60. So do the same
for these tests.

test/TEST-71-ISCSI-MULTI/test.sh
test/TEST-72-NBD/test.sh

index 983cb4ee7bab6a7d4a1f1971bf1c616e29113043..818a070953b765c86bb42f3bb1a2ac4a1c0894f8 100755 (executable)
@@ -223,7 +223,7 @@ test_setup() {
         -i ./client-persistent-lan1.link /etc/systemd/network/01-persistent-lan1.link
 
     # Make server's dracut image
-    call_dracut -i "$TESTDIR"/overlay / \
+    call_dracut \
         --add-confdir test \
         -a "qemu-net $USE_NETWORK ${SERVER_DEBUG:+debug}" \
         -i "./server.link" "/etc/systemd/network/01-server.link" \
index 8a77663416027aad988095825979623f911ad80a..10e23476b1e7bdc5e891d846a63b050f3db47060 100755 (executable)
@@ -321,7 +321,7 @@ test_setup() {
         -i "/tmp/crypttab" "/etc/crypttab" \
         -i "/tmp/key" "/etc/key"
 
-    call_dracut -N -i "$TESTDIR"/overlay / \
+    call_dracut -N \
         --add-confdir test \
         -a "qemu-net $USE_NETWORK ${SERVER_DEBUG:+debug}" \
         -i "./server.link" "/etc/systemd/network/01-server.link" \