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;
}
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);
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,
{
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",
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)";