]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(UEFI): let drive index start with 0
authorBenjamin Drung <benjamin.drung@canonical.com>
Tue, 27 Jan 2026 22:18:54 +0000 (23:18 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Tue, 27 Jan 2026 23:12:41 +0000 (18:12 -0500)
Unify the tests and let the drive index for test 12 start at 0 as well.

test/TEST-12-UEFI/test.sh

index 0ca9d4f0e59c578d14131ff92a700c6bbb2576ab..6b0bb8d004e86d95194393bed9b321045e4ee8a5 100755 (executable)
@@ -29,7 +29,7 @@ client_run() {
 
     declare -a disk_args=()
     # shellcheck disable=SC2034  # disk_index used in qemu_add_drive
-    declare -i disk_index=1
+    declare -i disk_index=0
     qemu_add_drive disk_index disk_args "$TESTDIR"/marker.img marker
     qemu_add_drive disk_index disk_args "$TESTDIR"/squashfs.img root