]> git.proxmox.com Git - qemu-server.git/commitdiff
grammar fix: s/does not exists/does not exist/g
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 13 Dec 2019 11:11:58 +0000 (12:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 13 Dec 2019 11:20:56 +0000 (12:20 +0100)
bump versioned build-dependency, as qemu-server has tests checking
for errors, and we fixed an grammar error in pve-storage, so we need
the newer version to ensure our test go through

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm
PVE/QemuServer.pm
debian/control
test/run_qemu_img_convert_tests.pl
test/test_get_replicatable_volumes.pl

index 3c7ef30d320e99d958c172c9421a658953c55a62..cf9da166ea9a9e19d615c158aaec1f21416ad775 100644 (file)
@@ -206,7 +206,7 @@ my $create_disks = sub {
 
                my $size = PVE::Storage::volume_size_info($storecfg, $volid);
 
-               die "volume $volid does not exists\n" if !$size;
+               die "volume $volid does not exist\n" if !$size;
 
                $disk->{size} = $size;
            }
index 09a155973ee668cf6bf0cf267815cae50803939f..f1da3e3ddf78f675b070e8d03a01e251df187770 100644 (file)
@@ -6306,7 +6306,7 @@ sub restore_vma_archive {
     my $conffile = PVE::QemuConfig->config_file($vmid);
     my $tmpfn = "$conffile.$$.tmp";
 
-    # Note: $oldconf is undef if VM does not exists
+    # Note: $oldconf is undef if VM does not exist
     my $cfs_path = PVE::QemuConfig->cfs_config_path($vmid);
     my $oldconf = PVE::Cluster::cfs_read_file($cfs_path);
 
index a754536f4ec9ef55794d4bcedf406e3201a18a14..b848368d085fffb56ca30182e18dcef88c62e7a9 100644 (file)
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 11~),
                libpve-cluster-perl,
                libpve-common-perl (>= 6.0-6),
                libpve-guest-common-perl (>= 2.0-20),
-               libpve-storage-perl,
+               libpve-storage-perl (>= 6.1-3),
                libtest-mockmodule-perl,
                libuuid-perl,
                libxml-libxml-perl,
index bd5542fb8aed99e2d96f9f91c1b46e3298b59864..7e25bd4f3b879aff42e4ddbeaedacd6e566f5c7c 100755 (executable)
@@ -150,7 +150,7 @@ my $tests = [
     {
        name => "notexistingstorage",
        parameters => [ "local-lvm:vm-$vmid-disk-0", "not-existing:$vmid/vm-$vmid-disk-0.raw", 1024*10, undef, 1 ],
-       expected => "storage 'not-existing' does not exists\n",
+       expected => "storage 'not-existing' does not exist\n",
     },
     {
        name => "vmdkfile",
index 5f698869dd17b62c07172ce012f6db114140c96d..d90e4f8aee49907560d9da481152d31e7830035b 100755 (executable)
@@ -49,7 +49,7 @@ my $expect;
 my $test_name = "test non existent storage";
 
 eval {  $volumes = PVE::QemuConfig->get_replicatable_volumes($storecfg, $vmid, $conf, 0, 0); };
-is($@, "storage 'non-existent-store' does not exists\n", $test_name);
+is($@, "storage 'non-existent-store' does not exist\n", $test_name);
 
 
 $test_name = "test with disk from other VM (not owner)";