ktest: Fix typos in ktest.pl
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>
This commit is contained in:
committed by
Steven Rostedt (VMware)
parent
4d00fc477a
commit
1091c8fce8
@@ -1030,7 +1030,7 @@ sub __read_config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$skip && $rest !~ /^\s*$/) {
|
if (!$skip && $rest !~ /^\s*$/) {
|
||||||
die "$name: $.: Gargbage found after $type\n$_";
|
die "$name: $.: Garbage found after $type\n$_";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($skip && $type eq "TEST_START") {
|
if ($skip && $type eq "TEST_START") {
|
||||||
@@ -1063,7 +1063,7 @@ sub __read_config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($rest !~ /^\s*$/) {
|
if ($rest !~ /^\s*$/) {
|
||||||
die "$name: $.: Gargbage found after DEFAULTS\n$_";
|
die "$name: $.: Garbage found after DEFAULTS\n$_";
|
||||||
}
|
}
|
||||||
|
|
||||||
} elsif (/^\s*INCLUDE\s+(\S+)/) {
|
} elsif (/^\s*INCLUDE\s+(\S+)/) {
|
||||||
@@ -1154,7 +1154,7 @@ sub __read_config {
|
|||||||
# on of these sections that have SKIP defined.
|
# on of these sections that have SKIP defined.
|
||||||
# The save variable can be
|
# The save variable can be
|
||||||
# defined multiple times and the new one simply overrides
|
# defined multiple times and the new one simply overrides
|
||||||
# the prevous one.
|
# the previous one.
|
||||||
set_variable($lvalue, $rvalue);
|
set_variable($lvalue, $rvalue);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@@ -1234,7 +1234,7 @@ sub read_config {
|
|||||||
foreach my $option (keys %not_used) {
|
foreach my $option (keys %not_used) {
|
||||||
print "$option\n";
|
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?") {
|
if (!read_yn "Do you want to continue?") {
|
||||||
exit -1;
|
exit -1;
|
||||||
}
|
}
|
||||||
@@ -1345,7 +1345,7 @@ sub eval_option {
|
|||||||
# Check for recursive evaluations.
|
# Check for recursive evaluations.
|
||||||
# 100 deep should be more than enough.
|
# 100 deep should be more than enough.
|
||||||
if ($r++ > 100) {
|
if ($r++ > 100) {
|
||||||
die "Over 100 evaluations accurred with $option\n" .
|
die "Over 100 evaluations occurred with $option\n" .
|
||||||
"Check for recursive variables\n";
|
"Check for recursive variables\n";
|
||||||
}
|
}
|
||||||
$prev = $option;
|
$prev = $option;
|
||||||
@@ -1461,7 +1461,7 @@ sub get_test_name() {
|
|||||||
|
|
||||||
sub dodie {
|
sub dodie {
|
||||||
|
|
||||||
# avoid recusion
|
# avoid recursion
|
||||||
return if ($in_die);
|
return if ($in_die);
|
||||||
$in_die = 1;
|
$in_die = 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user