mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-03-08 04:58:26 +03:00
grammar fix: s/does not exists/does not exist/g
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>
This commit is contained in:
parent
128193e26a
commit
ae200950d4
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -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,
|
||||
|
@ -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",
|
||||
|
@ -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)";
|
||||
|
Loading…
x
Reference in New Issue
Block a user