torture: Reposition so that $? collects ssh code in torture.sh
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 16 Feb 2022 01:19:31 +0000 (17:19 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:56:47 +0000 (09:56 -0800)
commit8a39393d4784244e89a29bd4bac70b69022cf9fe
tree4e8d44e8a2a30cf14aa81a94df92034f424c9031
parent90703e5d9f64803317186d52dce75823642116c4
torture: Reposition so that $? collects ssh code in torture.sh

An "echo" slipped in between an "ssh" and the "ret=$?" that was intended
to collect its exit code, which prevents torture.sh from detecting
"ssh" failure.  This commit therefore reassociates the two.

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