]> git.proxmox.com Git - qemu-server.git/commitdiff
cfg2cmd: minor cleanup
authorStefan Reiter <s.reiter@proxmox.com>
Wed, 4 Dec 2019 12:15:50 +0000 (13:15 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Dec 2019 10:42:49 +0000 (11:42 +0100)
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>
test/cfg2cmd/spice-linux-4.1.conf
test/run_config2command_tests.pl
test/snapshot-test.pm

index 24d2676741f19faf06454b689e43d63b7a0ed721..e484a94b75ae4027d26aa61e20aacf34acdd1332 100644 (file)
@@ -1,5 +1,5 @@
 # TEST: Test for SPICE with SPICE with max_outputs
-# QEMU_VERSION: 4.1.0
+# QEMU_VERSION: 4.1.1
 cores: 2
 memory: 768
 name: spicelinux
index 84ad864cadd5b8400b81ee94d0964505b6822b09..a826419842de57955fe2c913e8473686a1c1126b 100755 (executable)
@@ -237,7 +237,7 @@ sub do_test($) {
        my $cmd_expected = [ split /\s*\\?\n\s*/, $cmdline_expected ];
        my $cmd = [ split /\s*\\?\n\s*/, $cmdline ];
 
-       # comment out for easier debugging
+       # uncomment for easier debugging
        #file_set_contents("$cmd_fn.tmp", $cmdline);
 
        my $exp = join("\n", @$cmd_expected);
index ed5acb9683e9f2a635799938a93984770ea30764..ee9fc13f53752b3d8735c4c53a64ed8f7fb68ce6 100644 (file)
@@ -315,7 +315,7 @@ sub vm_running_locally {
 # BEGIN mocked PVE::QemuServer::Monitor methods
 
 sub qmp_cmd {
-    my ($vmid, $cmd, $nocheck) = @_;
+    my ($vmid, $cmd) = @_;
 
     my $exec = $cmd->{execute};
     if ($exec eq "delete-drive-snapshot") {