mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This commit reverts commit 0f3f5218ad.
This commit is contained in:
@@ -14,12 +14,12 @@ source config.sh
|
||||
printf "Getting exclusive lock for RIO execution...\n"
|
||||
flock -x 200 || exit 1
|
||||
|
||||
# To work around memory leak, kill NetComm and ensure the teststand is dead too
|
||||
SSH_RESTART_NETCOMM="ssh -t ${ROBOT_ADDRESS} sh -c '/etc/init.d/teststand stop; sleep 1; killall FRC_NetCommDaemon; sleep 1'"
|
||||
# Ensure the teststand is dead
|
||||
SSH_STOP_TESTSTAND="ssh -t ${ROBOT_ADDRESS} sh -c '/etc/init.d/teststand stop; sleep 1'"
|
||||
if [ $(which sshpass) ]; then
|
||||
sshpass -p "" ${SSH_RESTART_NETCOMM}
|
||||
sshpass -p "" ${SSH_STOP_TESTSTAND}
|
||||
else
|
||||
eval ${SSH_RESTART_NETCOMM}
|
||||
eval ${SSH_STOP_TESTSTAND}
|
||||
fi
|
||||
|
||||
# If there are already test results in the repository then remove them
|
||||
|
||||
Reference in New Issue
Block a user