linux/tools/testing/ktest
Steven Rostedt ef784eebb5 ktest.pl minconfig: Unset configs instead of just removing them
After a full run of a make_min_config test, I noticed there were a lot of
CONFIGs still enabled that really should not be. Looking at them, I
noticed they were all defined as "default y". The issue is that the test
simple removes the config and re-runs make oldconfig, which enables it
again because it is set to default 'y'. Instead, explicitly disable the
config with writing "# CONFIG_FOO is not set" to the file to keep it from
being set again.

With this change, one of my box's minconfigs went from 768 configs set,
down to 521 configs set.

Link: https://lkml.kernel.org/r/20221202115936.016fce23@gandalf.local.home

Cc: stable@vger.kernel.org
Fixes: 0a05c769a9 ("ktest: Added config_bisect test type")
Reviewed-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2022-12-07 20:36:16 -05:00
..
examples bootconfig/tracing/ktest: Update ktest example for boot-time tracing 2021-08-16 11:39:51 -04:00
compare-ktest-sample.pl tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
config-bisect.pl ktest: Fix some typos in config-bisect.pl 2019-07-24 15:37:18 -04:00
ktest.pl ktest.pl minconfig: Unset configs instead of just removing them 2022-12-07 20:36:16 -05:00
sample.conf ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed 2020-07-02 09:55:04 -04:00