summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-14 18:23:59 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-14 18:23:59 +0200
commitaaebebb7bd39a0b053877c8687298c33ac18fc23 (patch)
tree9393980293707f7b374b105a0fd416d73add74e3 /test
parenttest: Only add tpm2.target dependency to TEST-70-TPM2.service (diff)
downloadsystemd-aaebebb7bd39a0b053877c8687298c33ac18fc23.tar.xz
systemd-aaebebb7bd39a0b053877c8687298c33ac18fc23.zip
TEST-64-UDEV-STORAGE: Fix drive ID
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-64-UDEV-STORAGE/virtio_scsi_identically_named_partitions.configure2
-rwxr-xr-xtest/units/TEST-64-UDEV-STORAGE.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-64-UDEV-STORAGE/virtio_scsi_identically_named_partitions.configure b/test/TEST-64-UDEV-STORAGE/virtio_scsi_identically_named_partitions.configure
index de22c1aa6b..e850247c6a 100755
--- a/test/TEST-64-UDEV-STORAGE/virtio_scsi_identically_named_partitions.configure
+++ b/test/TEST-64-UDEV-STORAGE/virtio_scsi_identically_named_partitions.configure
@@ -20,7 +20,7 @@ num_disk = 16
config["QemuArgs"] += ["-device", "virtio-scsi-pci,id=scsi0,num_queues=4"]
for i in range(0, num_disk):
- id = f"drivenamedpart{i}"
+ id = f"drive{i}"
config["QemuDrives"] += [
{
"Id": id,
diff --git a/test/units/TEST-64-UDEV-STORAGE.sh b/test/units/TEST-64-UDEV-STORAGE.sh
index 3450813dff..c97db41da6 100755
--- a/test/units/TEST-64-UDEV-STORAGE.sh
+++ b/test/units/TEST-64-UDEV-STORAGE.sh
@@ -250,7 +250,7 @@ testcase_virtio_scsi_identically_named_partitions() {
fi
for ((i = 0; i < num_disk; i++)); do
- sfdisk "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drivenamedpart$i" <<EOF
+ sfdisk "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive$i" <<EOF
label: gpt
$(for ((j = 1; j <= num_part; j++)); do echo 'name="Hello world", size=2M'; done)