From: Michal Sojka Date: Thu, 18 Jun 2009 15:48:12 +0000 (+0200) Subject: Fixed termination of remote ping X-Git-Tag: fix-allnoconfig~379 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/fff0089e1e06ab133204bde2dedfc23be4921380 Fixed termination of remote ping If the ping is executed with -q, it was not terminated upon killing ssh --- 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