diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-14 18:23:59 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-14 18:23:59 +0200 |
commit | aaebebb7bd39a0b053877c8687298c33ac18fc23 (patch) | |
tree | 9393980293707f7b374b105a0fd416d73add74e3 /test | |
parent | test: Only add tpm2.target dependency to TEST-70-TPM2.service (diff) | |
download | systemd-aaebebb7bd39a0b053877c8687298c33ac18fc23.tar.xz systemd-aaebebb7bd39a0b053877c8687298c33ac18fc23.zip |
TEST-64-UDEV-STORAGE: Fix drive ID
Diffstat (limited to 'test')
-rwxr-xr-x | test/TEST-64-UDEV-STORAGE/virtio_scsi_identically_named_partitions.configure | 2 | ||||
-rwxr-xr-x | test/units/TEST-64-UDEV-STORAGE.sh | 2 |
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) |