]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional/qemu_test/testcase: Fix mismatched quotations
authorYodel Eldar <yodel.eldar@yodel.dev>
Tue, 6 Jan 2026 22:03:19 +0000 (16:03 -0600)
committerThomas Huth <thuth@redhat.com>
Wed, 7 Jan 2026 09:41:40 +0000 (10:41 +0100)
A debug string incorrectly mixes single-quotes with double-quotes,
causing the variable within to be treated as a literal. Fix it.

Signed-off-by: Yodel Eldar <yodel.eldar@yodel.dev>
Message-ID: <20260106220319.74785-1-yodel.eldar@yodel.dev>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/testcase.py

index fa100d963206039d938f5fd375139a7390fab974..c2c916f60771c91d5e201eebc4256ab53a3f57b1 100644 (file)
@@ -348,7 +348,7 @@ class QemuSystemTest(QemuBaseTest):
         helptxt = run([self.qemu_bin, '-M', 'none', '-netdev', 'help'],
                       capture_output=True, check=True, encoding='utf8').stdout
         if helptxt.find('\n' + netdevname + '\n') < 0:
-            self.skipTest('no support for " + netdevname + " networking')
+            self.skipTest('no support for ' + netdevname + ' networking')
 
     def require_device(self, devicename):
         helptxt = run([self.qemu_bin, '-M', 'none', '-device', 'help'],