]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(FULL-SYSTEMD): align with other tests
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sun, 7 Jul 2024 20:48:42 +0000 (16:48 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Mon, 8 Jul 2024 22:51:30 +0000 (18:51 -0400)
test/TEST-04-FULL-SYSTEMD/test.sh

index aa79eae9d0e419d14baa17748b1f8e3b2f204c36..ce360f7ddde2545c406ef53c07bb7c957a29b781 100755 (executable)
@@ -140,11 +140,7 @@ EOF
         "${disk_args[@]}" \
         -append "root=/dev/fakeroot rw rootfstype=btrfs quiet console=ttyS0,115200n81" \
         -initrd "$TESTDIR"/initramfs.makeroot || return 1
-
-    if ! test_marker_check dracut-root-block-created; then
-        echo "Could not create root filesystem"
-        return 1
-    fi
+    test_marker_check dracut-root-block-created || return 1
 
     grep -F -a -m 1 ID_FS_UUID "$TESTDIR"/marker.img > "$TESTDIR"/luks.uuid
     echo -n test > /tmp/key