OSDN Git Service

ktest: Fix make_min_config to handle new assign_configs call
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 22 Oct 2014 14:11:47 +0000 (10:11 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 22 Nov 2014 00:38:56 +0000 (19:38 -0500)
commit9972fc0b859e7aaeb6d2d33bdb591959d9a436c0
treeb92258be1c4e5037eb693907b4048ad5c5b971bd
parent52d21580b3623e0b5f0b8de5d67b5431507720e5
ktest: Fix make_min_config to handle new assign_configs call

Commit 6071c22e1755 "ktest: Rewrite the config-bisect to actually work"
fixed the config-bisect to work nicely but in doing so it broke
make_min_config by changing the way assign_configs works.

The assign_configs function now adds the config to the hash even if
it is disabled, but changes the hash value to be that of the
line "# CONFIG_FOO is not set". Unfortunately, the make_min_config
test only checks to see if the config is removed. It now needs to
check if the config is in the hash and not set to be disabled.

Cc: stable@vger.kernel.org # 3.17+
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl