Skip to content

Commit 2272279

Browse files
pavelmachektorvalds
authored andcommitted
ktest.pl: fix english
Ajdust spelling to more common "mandatory". Variant "mandidory" is certainly wrong. Link: http://lkml.kernel.org/r/20161011073003.GA19476@amd Signed-off-by: Pavel Machek <pavel@ucw.cz> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b5fc8c6 commit 2272279

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/testing/ktest/ktest.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -719,14 +719,14 @@ sub set_value {
719719

720720
if ($buildonly && $lvalue =~ /^TEST_TYPE(\[.*\])?$/ && $prvalue ne "build") {
721721
# Note if a test is something other than build, then we
722-
# will need other manditory options.
722+
# will need other mandatory options.
723723
if ($prvalue ne "install") {
724724
# for bisect, we need to check BISECT_TYPE
725725
if ($prvalue ne "bisect") {
726726
$buildonly = 0;
727727
}
728728
} else {
729-
# install still limits some manditory options.
729+
# install still limits some mandatory options.
730730
$buildonly = 2;
731731
}
732732
}
@@ -735,7 +735,7 @@ sub set_value {
735735
if ($prvalue ne "install") {
736736
$buildonly = 0;
737737
} else {
738-
# install still limits some manditory options.
738+
# install still limits some mandatory options.
739739
$buildonly = 2;
740740
}
741741
}
@@ -3989,7 +3989,7 @@ sub make_min_config {
39893989
}
39903990
}
39913991

3992-
# Save off all the current mandidory configs
3992+
# Save off all the current mandatory configs
39933993
open (OUT, ">$temp_config")
39943994
or die "Can't write to $temp_config";
39953995
foreach my $config (keys %keep_configs) {

0 commit comments

Comments
 (0)