ktest: Use config-bisect.pl in ktest.pl
authorScott Wood <swood@redhat.com>
Mon, 17 Jul 2017 00:16:30 +0000 (19:16 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 6 Apr 2018 18:05:13 +0000 (14:05 -0400)
commita9adc261e978b9214fd505030c24e75b07dcf52f
tree1cac90d4e88fa17d6355997ac914a70c062d15d9
parent0f0db065999cf1793a7a9b595a9ba86935f139d4
ktest: Use config-bisect.pl in ktest.pl

Reduce code duplication and take advantage of bisection logic
improvements by calling config-bisect.pl.

The output of make oldconfig is now copied directly to the desired file,
rather than doing assign_configs+save_config, in order to preserve the
ordering so that diffing the configs at the end will provide useful
output.

Link: http://lkml.kernel.org/r/20170717001630.10518-8-swood@redhat.com
Signed-off-by: Scott Wood <swood@redhat.com>
[ Modified to use with new version of config-bisect.pl ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl