aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/testing/ktest/ktest.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 3d88be784df0..962c0f773e20 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -97,6 +97,11 @@ sub set_value {
97 die "Error: Option $lvalue defined more than once!\n"; 97 die "Error: Option $lvalue defined more than once!\n";
98 } 98 }
99 $opt{$lvalue} = $rvalue; 99 $opt{$lvalue} = $rvalue;
100 if ($rvalue =~ /^\s*$/) {
101 delete $opt{$lvalue};
102 } else {
103 $opt{$lvalue} = $rvalue;
104 }
100} 105}
101 106
102sub read_config { 107sub read_config {