public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] networktests.sh: add ${LTPROOT}/bin into $PATH
@ 2013-11-04  9:20 Simon Xu
  2013-11-07 16:07 ` chrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Xu @ 2013-11-04  9:20 UTC (permalink / raw)
  To: ltp-list

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 <xu.simon@oracle.com>
---
 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-12 12:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04  9:20 [LTP] [PATCH] networktests.sh: add ${LTPROOT}/bin into $PATH Simon Xu
2013-11-07 16:07 ` chrubis
     [not found]   ` <527C5B3D.60205@oracle.com>
2013-11-11 14:08     ` chrubis
2013-11-12 10:59       ` [LTP] [PATCH] move gethost from tools to sendfile01 Simon Xu
2013-11-12 12:38         ` chrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox