From fff0089e1e06ab133204bde2dedfc23be4921380 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 18 Jun 2009 17:48:12 +0200 Subject: [PATCH] Fixed termination of remote ping If the ping is executed with -q, it was not terminated upon killing ssh --- tests/ethflood.sh | 2 +- tests/ethflood64k.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ethflood.sh b/tests/ethflood.sh index e2c1edd..c25d447 100755 --- a/tests/ethflood.sh +++ b/tests/ethflood.sh @@ -3,7 +3,7 @@ . _lib.sh t() { - ssh root@${SSH_CONNECTION%% *} 'ping -qf "${SSH_CONNECTION%% *}"' & + ssh root@${SSH_CONNECTION%% *} 'ping -f "${SSH_CONNECTION%% *}"' & PID_PING=$! boost_irq_prio PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1` diff --git a/tests/ethflood64k.sh b/tests/ethflood64k.sh index 9702093..aa32581 100755 --- a/tests/ethflood64k.sh +++ b/tests/ethflood64k.sh @@ -3,7 +3,7 @@ . _lib.sh t() { - ssh root@${SSH_CONNECTION%% *} 'ping -qfs 64000 "${SSH_CONNECTION%% *}"' & + ssh root@${SSH_CONNECTION%% *} 'ping -fs 64000 ${SSH_CONNECTION%% *}' & PID_PING=$! PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1` vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 2 -c 10000 -- 2.39.2