Skip to content

Commit

Permalink
ktest: Fix typos in ktest.pl
Browse files Browse the repository at this point in the history
This patch fixes multipe spelling typo found in ktest.pl.

Link: http://lkml.kernel.org/r/20200309115430.57540-1-standby24x7@gmail.com

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
standby24x7 authored and rostedt committed Mar 9, 2020
1 parent 4d00fc4 commit 1091c8f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/testing/ktest/ktest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ sub __read_config {
}

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

if ($skip && $type eq "TEST_START") {
Expand Down Expand Up @@ -1063,7 +1063,7 @@ sub __read_config {
}

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

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

} else {
Expand Down Expand Up @@ -1234,7 +1234,7 @@ sub read_config {
foreach my $option (keys %not_used) {
print "$option\n";
}
print "Set IGRNORE_UNUSED = 1 to have ktest ignore unused variables\n";
print "Set IGNORE_UNUSED = 1 to have ktest ignore unused variables\n";
if (!read_yn "Do you want to continue?") {
exit -1;
}
Expand Down Expand Up @@ -1345,7 +1345,7 @@ sub eval_option {
# Check for recursive evaluations.
# 100 deep should be more than enough.
if ($r++ > 100) {
die "Over 100 evaluations accurred with $option\n" .
die "Over 100 evaluations occurred with $option\n" .
"Check for recursive variables\n";
}
$prev = $option;
Expand Down Expand Up @@ -1461,7 +1461,7 @@ ()

sub dodie {

# avoid recusion
# avoid recursion
return if ($in_die);
$in_die = 1;

Expand Down

0 comments on commit 1091c8f

Please sign in to comment.