Re: [PATCH] ktest.pl: fix english

From: Steven Rostedt
Date: Tue Oct 11 2016 - 06:00:08 EST


On Tue, 11 Oct 2016 09:30:03 +0200
Pavel Machek <pavel@xxxxxx> wrote:

> Ajdust spelling to more common "mandatory". Variant "mandidory" is
> certainly wrong.

It was to see who could find Dory.

This should go through the trivial tree. Thanks!

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve

>
> Signed-off-by: Pavel Machek <pavel@xxxxxx>
>
> diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
> index d08e214..a5e36b2 100755
> --- a/tools/testing/ktest/ktest.pl
> +++ b/tools/testing/ktest/ktest.pl
> @@ -719,14 +719,14 @@ sub set_value {
>
> if ($buildonly && $lvalue =~ /^TEST_TYPE(\[.*\])?$/ && $prvalue ne "build") {
> # Note if a test is something other than build, then we
> - # will need other manditory options.
> + # will need other mandatory options.
> if ($prvalue ne "install") {
> # for bisect, we need to check BISECT_TYPE
> if ($prvalue ne "bisect") {
> $buildonly = 0;
> }
> } else {
> - # install still limits some manditory options.
> + # install still limits some mandatory options.
> $buildonly = 2;
> }
> }
> @@ -735,7 +735,7 @@ sub set_value {
> if ($prvalue ne "install") {
> $buildonly = 0;
> } else {
> - # install still limits some manditory options.
> + # install still limits some mandatory options.
> $buildonly = 2;
> }
> }
> @@ -3989,7 +3991,7 @@ sub make_min_config {
> }
> }
>
> - # Save off all the current mandidory configs
> + # Save off all the current mandatory configs
> open (OUT, ">$temp_config")
> or die "Can't write to $temp_config";
> foreach my $config (keys %keep_configs) {
>