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>
Tue, 12 Apr 2022 00:08:58 +0000 (17:08 -0700)
commitab3ecd0bce32705e722f356a504694f4fd51d4c0
tree56d5c60f18a1cd6cc6a01fad152db07256556cc0
parent3123109284176b1532874591f7c81f3837bbdc17
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