Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH] kunit: Fix spelling mistakes in comments and messages
@ 2026-05-01 16:27 Jinseok Kim
  2026-05-02  2:56 ` David Gow
  0 siblings, 1 reply; 2+ messages in thread
From: Jinseok Kim @ 2026-05-01 16:27 UTC (permalink / raw)
  To: brendan.higgins, david
  Cc: raemoar63, skhan, me, jkoolstra, linux-kselftest, kunit-dev,
	linux-kernel, linux-kernel-mentees

Fix two spelling mistakes in kunit tooling:
  Bascially -> Basically
  higer     -> higher

Signed-off-by: Jinseok Kim <always.starving0@gmail.com>
---
 tools/testing/kunit/kunit_kernel.py | 2 +-
 tools/testing/kunit/kunit_parser.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/kunit/kunit_kernel.py b/tools/testing/kunit/kunit_kernel.py
index 2869fcb19..58557c47d 100644
--- a/tools/testing/kunit/kunit_kernel.py
+++ b/tools/testing/kunit/kunit_kernel.py
@@ -218,7 +218,7 @@ def _get_qemu_ops(config_path: str,
 	# exists (I learned this through experimentation and could not find it
 	# anywhere in the Python documentation).
 	#
-	# Bascially, we completely ignore the actual file location of the config
+	# Basically, we completely ignore the actual file location of the config
 	# we are loading and just tell Python that the module lives in the
 	# QEMU_CONFIGS_DIR for import purposes regardless of where it actually
 	# exists as a file.
diff --git a/tools/testing/kunit/kunit_parser.py b/tools/testing/kunit/kunit_parser.py
index 1c61a0ed7..0e1d2f498 100644
--- a/tools/testing/kunit/kunit_parser.py
+++ b/tools/testing/kunit/kunit_parser.py
@@ -268,7 +268,7 @@ def check_version(version_num: int, accepted_versions: List[int],
 	if version_num < min(accepted_versions):
 		test.add_error(printer, f'{version_type} version lower than expected!')
 	elif version_num > max(accepted_versions):
-		test.add_error(printer, f'{version_type} version higer than expected!')
+		test.add_error(printer, f'{version_type} version higher than expected!')

 def parse_ktap_header(lines: LineStream, test: Test, printer: Printer) -> bool:
 	"""
--
2.43.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kunit: Fix spelling mistakes in comments and messages
  2026-05-01 16:27 [PATCH] kunit: Fix spelling mistakes in comments and messages Jinseok Kim
@ 2026-05-02  2:56 ` David Gow
  0 siblings, 0 replies; 2+ messages in thread
From: David Gow @ 2026-05-02  2:56 UTC (permalink / raw)
  To: Jinseok Kim, brendan.higgins
  Cc: raemoar63, skhan, me, jkoolstra, linux-kselftest, kunit-dev,
	linux-kernel, linux-kernel-mentees

Le 02/05/2026 à 12:27 AM, Jinseok Kim a écrit :
> Fix two spelling mistakes in kunit tooling:
>    Bascially -> Basically
>    higer     -> higher
> 
> Signed-off-by: Jinseok Kim <always.starving0@gmail.com>
> ---

Thanks!

Reviewed-by: David Gow <david@davidgow.net>

Cheers,
-- David

>   tools/testing/kunit/kunit_kernel.py | 2 +-
>   tools/testing/kunit/kunit_parser.py | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/testing/kunit/kunit_kernel.py b/tools/testing/kunit/kunit_kernel.py
> index 2869fcb19..58557c47d 100644
> --- a/tools/testing/kunit/kunit_kernel.py
> +++ b/tools/testing/kunit/kunit_kernel.py
> @@ -218,7 +218,7 @@ def _get_qemu_ops(config_path: str,
>   	# exists (I learned this through experimentation and could not find it
>   	# anywhere in the Python documentation).
>   	#
> -	# Bascially, we completely ignore the actual file location of the config
> +	# Basically, we completely ignore the actual file location of the config
>   	# we are loading and just tell Python that the module lives in the
>   	# QEMU_CONFIGS_DIR for import purposes regardless of where it actually
>   	# exists as a file.
> diff --git a/tools/testing/kunit/kunit_parser.py b/tools/testing/kunit/kunit_parser.py
> index 1c61a0ed7..0e1d2f498 100644
> --- a/tools/testing/kunit/kunit_parser.py
> +++ b/tools/testing/kunit/kunit_parser.py
> @@ -268,7 +268,7 @@ def check_version(version_num: int, accepted_versions: List[int],
>   	if version_num < min(accepted_versions):
>   		test.add_error(printer, f'{version_type} version lower than expected!')
>   	elif version_num > max(accepted_versions):
> -		test.add_error(printer, f'{version_type} version higer than expected!')
> +		test.add_error(printer, f'{version_type} version higher than expected!')
> 
>   def parse_ktap_header(lines: LineStream, test: Test, printer: Printer) -> bool:
>   	"""
> --
> 2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-02  2:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-01 16:27 [PATCH] kunit: Fix spelling mistakes in comments and messages Jinseok Kim
2026-05-02  2:56 ` David Gow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox