mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-13 18:18:22 +00:00
cfg2cmd: minor cleanup
We never shipped a 4.1.0 QEMU, so it makes more sense to test as 4.1.1 Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
parent
c7728fdb85
commit
8b26544e50
@ -1,5 +1,5 @@
|
|||||||
# TEST: Test for SPICE with SPICE with max_outputs
|
# TEST: Test for SPICE with SPICE with max_outputs
|
||||||
# QEMU_VERSION: 4.1.0
|
# QEMU_VERSION: 4.1.1
|
||||||
cores: 2
|
cores: 2
|
||||||
memory: 768
|
memory: 768
|
||||||
name: spicelinux
|
name: spicelinux
|
||||||
|
@ -237,7 +237,7 @@ sub do_test($) {
|
|||||||
my $cmd_expected = [ split /\s*\\?\n\s*/, $cmdline_expected ];
|
my $cmd_expected = [ split /\s*\\?\n\s*/, $cmdline_expected ];
|
||||||
my $cmd = [ split /\s*\\?\n\s*/, $cmdline ];
|
my $cmd = [ split /\s*\\?\n\s*/, $cmdline ];
|
||||||
|
|
||||||
# comment out for easier debugging
|
# uncomment for easier debugging
|
||||||
#file_set_contents("$cmd_fn.tmp", $cmdline);
|
#file_set_contents("$cmd_fn.tmp", $cmdline);
|
||||||
|
|
||||||
my $exp = join("\n", @$cmd_expected);
|
my $exp = join("\n", @$cmd_expected);
|
||||||
|
@ -315,7 +315,7 @@ sub vm_running_locally {
|
|||||||
# BEGIN mocked PVE::QemuServer::Monitor methods
|
# BEGIN mocked PVE::QemuServer::Monitor methods
|
||||||
|
|
||||||
sub qmp_cmd {
|
sub qmp_cmd {
|
||||||
my ($vmid, $cmd, $nocheck) = @_;
|
my ($vmid, $cmd) = @_;
|
||||||
|
|
||||||
my $exec = $cmd->{execute};
|
my $exec = $cmd->{execute};
|
||||||
if ($exec eq "delete-drive-snapshot") {
|
if ($exec eq "delete-drive-snapshot") {
|
||||||
|
Loading…
Reference in New Issue
Block a user