Commit 22722799 authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds

ktest.pl: fix english

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

Link: http://lkml.kernel.org/r/20161011073003.GA19476@amdSigned-off-by: default avatarPavel Machek <pavel@ucw.cz>
Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b5fc8c6c
...@@ -719,14 +719,14 @@ sub set_value { ...@@ -719,14 +719,14 @@ sub set_value {
if ($buildonly && $lvalue =~ /^TEST_TYPE(\[.*\])?$/ && $prvalue ne "build") { if ($buildonly && $lvalue =~ /^TEST_TYPE(\[.*\])?$/ && $prvalue ne "build") {
# Note if a test is something other than build, then we # 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") { if ($prvalue ne "install") {
# for bisect, we need to check BISECT_TYPE # for bisect, we need to check BISECT_TYPE
if ($prvalue ne "bisect") { if ($prvalue ne "bisect") {
$buildonly = 0; $buildonly = 0;
} }
} else { } else {
# install still limits some manditory options. # install still limits some mandatory options.
$buildonly = 2; $buildonly = 2;
} }
} }
...@@ -735,7 +735,7 @@ sub set_value { ...@@ -735,7 +735,7 @@ sub set_value {
if ($prvalue ne "install") { if ($prvalue ne "install") {
$buildonly = 0; $buildonly = 0;
} else { } else {
# install still limits some manditory options. # install still limits some mandatory options.
$buildonly = 2; $buildonly = 2;
} }
} }
...@@ -3989,7 +3989,7 @@ sub make_min_config { ...@@ -3989,7 +3989,7 @@ sub make_min_config {
} }
} }
# Save off all the current mandidory configs # Save off all the current mandatory configs
open (OUT, ">$temp_config") open (OUT, ">$temp_config")
or die "Can't write to $temp_config"; or die "Can't write to $temp_config";
foreach my $config (keys %keep_configs) { foreach my $config (keys %keep_configs) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment