torture: s/STOP/STOP.1/ to avoid scenario collision
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 12 Dec 2020 00:59:40 +0000 (16:59 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 22:01:24 +0000 (14:01 -0800)
commitc821f855f625f763a87c49f413aa4f60974b5071
treef91486e7cd1b7f8ea18ded85d2590b3924561b90
parent755cf0afc16477bf55c837a35bf3b15461850194
torture: s/STOP/STOP.1/ to avoid scenario collision

This commit changes the "STOP" file that is used to cleanly halt a running
rcutorture run to "STOP.1" because no scenario directory will ever end
with ".1".  If there really was a scenario named "STOP", its directories
would instead be named "STOP", "STOP.2", "STOP.3", and so on.  While in
the area, the commit also changes the kernel-run-time checks for this
file to look directly in the directory above $resdir, thus avoiding the
need to pass the TORTURE_STOPFILE environment variable to remote systems.

While in the area, move the STOP.1 file to the top-level directory
covering all of the scenarios.

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