]> git.baikalelectronics.ru Git - kernel.git/commit
torture: Use correct path for Kconfig fragment for duplicates
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 25 Mar 2017 17:19:50 +0000 (10:19 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 19 Apr 2017 16:29:19 +0000 (09:29 -0700)
commit78677c767ade610eed13ceb96b9cddcb73681dc0
tree4041675f685fca0116def5bc5241b5ff11d5f17a
parent6acda596447d7eebeaec363b4afa2bf02abe5a2e
torture: Use correct path for Kconfig fragment for duplicates

Currently, the rcutorture scripting will give an error message if
running a duplicate scenario that happens also to have a non-existent
build directory (b1, b2, ... in the rcutorture directory).  Worse yet, if
the build directory has already been created and used for a real build,
the script will silently grab the wrong Kconfig fragment, which could
cause confusion to the poor sap (me) analyzing old test results.  At
least the actual test runs correctly...

This commit therefore accesses the Kconfig fragment from the results
directory corresponding to the first of the duplicate scenarios, for
which a build was actually carried out.  This prevents both the messages
and at least one form of later confusion.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh