]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(FULL-SYSTEMD): skip test on debian:stable for now
authorJo Zzsi <jozzsicsataban@gmail.com>
Tue, 12 Nov 2024 17:40:33 +0000 (12:40 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Tue, 12 Nov 2024 18:35:06 +0000 (13:35 -0500)
This should make the Daily Integration test to finally fully green.

test/TEST-41-FULL-SYSTEMD/test.sh

index 4df5c66ffdeb98b0166cc1b6d3e53a49e15ad43c..60643d9c02341d1d60a2629f4688e70abec8d368 100755 (executable)
@@ -9,6 +9,12 @@ test_check() {
         return 1
     fi
 
+    # TODO this check can be removed after CI switched to debian:13
+    if ! [ -f /usr/lib/systemd/systemd-battery-check ]; then
+        echo "Test needs systemd-battery-check.. Skipping"
+        return 1
+    fi
+
     command -v systemctl &> /dev/null
 }
 
@@ -132,6 +138,7 @@ EOF
 
     grep -F -a -m 1 ID_FS_UUID "$TESTDIR"/marker.img > "$TESTDIR"/luks.uuid
 
+    # TODO switch back to -a from -m after https://github.com/dracut-ng/dracut-ng/issues/685 is fixed, otherwise this test fails on Ubuntu
     test_dracut \
         -m "resume dracut-systemd systemd-ac-power systemd-battery-check systemd-bsod systemd-coredump systemd-creds systemd-cryptsetup systemd-integritysetup systemd-ldconfig systemd-pcrphase systemd-pstore systemd-repart systemd-sysext systemd-veritysetup" \
         --add-drivers "btrfs" \