Skip to content

Commit c1434dc

Browse files
Steven Rostedtrostedt
authored andcommitted
ktest: Reset saved min (force) configs for each test
The min configs are saved in a perl hash called force_configs, and this hash is used to add configs to the .config file. But it was not being reset between tests and a min config from a previous test would affect the min config of the next test causing undesirable results. Reset the force_config hash at the start of each test. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 parent 8a80c72 commit c1434dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tools/testing/ktest/ktest.pl‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,6 +3634,8 @@ sub set_test_option {
36343634

36353635
$iteration = $i;
36363636

3637+
undef %force_config;
3638+
36373639
my $makecmd = set_test_option("MAKE_CMD", $i);
36383640

36393641
# Load all the options into their mapped variable names

0 commit comments

Comments
 (0)