Some tests need `gethost' (e.g. sendfile01), which lives in ${LTPROOT}/bin,
which is not in $PATH of networktests.sh.

Signed-off-by: Simon Xu <[email protected]>
---
 testscripts/networktests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testscripts/networktests.sh b/testscripts/networktests.sh
index b136749..9465356 100755
--- a/testscripts/networktests.sh
+++ b/testscripts/networktests.sh
@@ -110,7 +110,7 @@ fi
 
 cd $TMPDIR
 
-export PATH="${PATH}:${LTPROOT}/testcases/bin"
+export PATH="${PATH}:${LTPROOT}/bin:${LTPROOT}/testcases/bin"
 
 if [ ${VERBOSE} = "yes" ]; then
     echo "Network parameters:"
-- 
1.8.4.2


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to