]> git.proxmox.com Git - mirror_qemu.git/commitdiff
acceptance/tests/vnc.py: use explicit syntax for enabling passwords
authorCleber Rosa <crosa@redhat.com>
Fri, 24 Sep 2021 18:54:58 +0000 (14:54 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 27 Sep 2021 17:06:47 +0000 (19:06 +0200)
This matches the command line on 82a17d1d67, where the "on" or "off"
should be explicitly given.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210924185506.2542588-9-crosa@redhat.com>

tests/acceptance/vnc.py

index 22656bbcc2b357fcf2649a9daf25fca58442ce98..f301fbb4f565fc030e79f2184897103790f062e5 100644 (file)
@@ -45,7 +45,7 @@ class Vnc(Test):
                          'Could not set password')
 
     def test_change_password(self):
-        self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password')
+        self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password=on')
         self.vm.launch()
         self.assertTrue(self.vm.qmp('query-vnc')['return']['enabled'])
         set_password_response = self.vm.qmp('change-vnc-password',