From: Jouni Malinen Date: Sun, 22 Dec 2024 11:09:15 +0000 (+0200) Subject: tests: Use correct VM index for prints of unexpected messages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99179228091d4ddacf10e7d70a5b49900f4971e8;p=thirdparty%2Fhostap.git tests: Use correct VM index for prints of unexpected messages Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/vm/parallel-vm.py b/tests/hwsim/vm/parallel-vm.py index 1f571df20..89fad635b 100755 --- a/tests/hwsim/vm/parallel-vm.py +++ b/tests/hwsim/vm/parallel-vm.py @@ -806,9 +806,9 @@ def main(): if not known_output(tests, line): unknown += line + "\n" if unknown: - print("\nVM %d - unexpected stdout output:\n%s" % (i, unknown)) + print("\nVM %d - unexpected stdout output:\n%s" % (i + 1, unknown)) if vm[i]['err']: - print("\nVM %d - unexpected stderr output:\n%s\n" % (i, vm[i]['err'])) + print("\nVM %d - unexpected stderr output:\n%s\n" % (i + 1, vm[i]['err'])) if codecov: print("Code coverage - preparing report")