Skip to content

Commit 1091c8f

Browse files
standby24x7rostedt
authored andcommitted
ktest: Fix typos in ktest.pl
This patch fixes multipe spelling typo found in ktest.pl. Link: http://lkml.kernel.org/r/[email protected] Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Masanari Iida <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 4d00fc4 commit 1091c8f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tools/testing/ktest/ktest.pl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ sub __read_config {
10301030
}
10311031

10321032
if (!$skip && $rest !~ /^\s*$/) {
1033-
die "$name: $.: Gargbage found after $type\n$_";
1033+
die "$name: $.: Garbage found after $type\n$_";
10341034
}
10351035

10361036
if ($skip && $type eq "TEST_START") {
@@ -1063,7 +1063,7 @@ sub __read_config {
10631063
}
10641064

10651065
if ($rest !~ /^\s*$/) {
1066-
die "$name: $.: Gargbage found after DEFAULTS\n$_";
1066+
die "$name: $.: Garbage found after DEFAULTS\n$_";
10671067
}
10681068

10691069
} elsif (/^\s*INCLUDE\s+(\S+)/) {
@@ -1154,7 +1154,7 @@ sub __read_config {
11541154
# on of these sections that have SKIP defined.
11551155
# The save variable can be
11561156
# defined multiple times and the new one simply overrides
1157-
# the prevous one.
1157+
# the previous one.
11581158
set_variable($lvalue, $rvalue);
11591159

11601160
} else {
@@ -1234,7 +1234,7 @@ sub read_config {
12341234
foreach my $option (keys %not_used) {
12351235
print "$option\n";
12361236
}
1237-
print "Set IGRNORE_UNUSED = 1 to have ktest ignore unused variables\n";
1237+
print "Set IGNORE_UNUSED = 1 to have ktest ignore unused variables\n";
12381238
if (!read_yn "Do you want to continue?") {
12391239
exit -1;
12401240
}
@@ -1345,7 +1345,7 @@ sub eval_option {
13451345
# Check for recursive evaluations.
13461346
# 100 deep should be more than enough.
13471347
if ($r++ > 100) {
1348-
die "Over 100 evaluations accurred with $option\n" .
1348+
die "Over 100 evaluations occurred with $option\n" .
13491349
"Check for recursive variables\n";
13501350
}
13511351
$prev = $option;
@@ -1461,7 +1461,7 @@ ()
14611461

14621462
sub dodie {
14631463

1464-
# avoid recusion
1464+
# avoid recursion
14651465
return if ($in_die);
14661466
$in_die = 1;
14671467

0 commit comments

Comments
 (0)