提交 c1434dcc 编写于 作者: S Steven Rostedt 提交者: Steven Rostedt

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: NSteven Rostedt <rostedt@goodmis.org>
上级 8a80c727
......@@ -3634,6 +3634,8 @@ for (my $i = 1; $i <= $opt{"NUM_TESTS"}; $i++) {
$iteration = $i;
undef %force_config;
my $makecmd = set_test_option("MAKE_CMD", $i);
# Load all the options into their mapped variable names
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册