[pve-devel] [PATCH qemu-server 3/6] tests: image convert: avoid hard-coded VM ID in result

Fiona Ebner f.ebner at proxmox.com
Thu Jul 24 15:59:42 CEST 2025


Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 src/test/run_qemu_img_convert_tests.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/run_qemu_img_convert_tests.pl b/src/test/run_qemu_img_convert_tests.pl
index a3c4cb59..3f7fb98e 100755
--- a/src/test/run_qemu_img_convert_tests.pl
+++ b/src/test/run_qemu_img_convert_tests.pl
@@ -523,7 +523,7 @@ my $tests = [
             "qcow2",
             "-O",
             "raw",
-            "/dev/pve/snap_vm-8006-disk-0_foo.qcow2",
+            "/dev/pve/snap_vm-$vmid-disk-0_foo.qcow2",
             "/var/lib/vz/images/$vmid/vm-$vmid-disk-0.raw",
         ],
     },
-- 
2.47.2





More information about the pve-devel mailing list