Commit 8080227881 for qemu.org
commit 80802278817770783a07eebc06adc157df89d827
Author: Yodel Eldar <yodel.eldar@yodel.dev>
Date: Tue Jan 6 16:03:19 2026 -0600
tests/functional/qemu_test/testcase: Fix mismatched quotations
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>
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index fa100d9632..c2c916f607 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -348,7 +348,7 @@ def require_netdev(self, netdevname):
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'],