Fixed the way how to run the "tc" command on the remote machine.
Otherwise, we always get the following message on the local side:
   The remote host does not have netem functionality

Regards
Giuseppe
Fixed the way how to run the tc command on the remote machine.
Otherwise we always get the following message on the local side:
The remote host does not have netem functionality

Signed-off-by: Giuseppe [EMAIL PROTECTED]

--- ltp/testcases/network/stress/ns-tools/check_netem.orig	2008-06-23 13:39:50.000000000 +0200
+++ lto/testcases/network/stress/ns-tools/check_netem	2008-06-23 13:40:01.000000000 +0200
@@ -61,7 +61,7 @@ fi
 
 # Check the netem functionality
 ofile=`mktemp -p $TMPDIR`
-$LTP_RSH $RHOST "tc qdisc add dev eth0 root netem help" >$ofile 2>&1
+$LTP_RSH $RHOST "PATH=/sbin:/usr/sbin:$PATH tc qdisc add dev eth0 root netem help" >$ofile 2>&1
 grep -l "Usage:.*netem" $ofile >/dev/null 2>&1
 if [ $? -ne 0 ]; then
     echo "The remote host does not have netem functionality"
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to