On Fri, Mar 12, 2010 at 12:56 AM, Sachin Sant <[email protected]> wrote:
> Garrett Cooper wrote:
>>>
>>> Hmm .. i am still not able to execute the test even after exporting the
>>> PATH.
>>>
>>> lp5:/opt/ltp # export LTPROOT=/opt/ltp
>>> lp5:/opt/ltp # export PATH=$PATH:$LTPROOT/testcases/bin
>>> lp5:/opt/ltp # ./runltp -f containers
>>> ........<SNIP>..........
>>> <<<test_start>>>
>>> tag=Containers stime=1268369850
>>> cmdline="container_test.sh"
>>> contacts=""
>>> analysis=exit
>>> <<<test_output>>>
>>> incrementing stop
>>> Running netns tests.
>>> --: childns.sh '/opt/ltp': No such file or directory
>>>
>>> I feel the problem is: the code is searching childns.sh in LTPROOT
>>> directory instead of LTPROOT/testcases/bin
>>>
>>
>> Please test your claim by calling env in the script -- what happens?
>> Something doesn't necessarily add up with the claim.
>>
>
> You meant calling env from childns.sh or some other script ?
>
> I printed env o/p (just before calling netns tests) from container_test.sh
>
> contacts=""
> analysis=exit
> <<<test_output>>>
> incrementing stop
> --- Start env o/p ---
> LESSKEY=/etc/lesskey.bin
> NNTPSERVER=news
> .... SNIP ...
> MAIL=/var/mail/root
> PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/ltp/testcases/bin:/opt/ltp/testcases/bin
> CPU=ppc64
> _=/usr/bin/env
> SSH_SENDS_LOCALE=yes
> INPUTRC=/etc/inputrc
> PWD=/opt/ltp/testcases/bin
> LANG=en_US.UTF-8
> PYTHONSTARTUP=/etc/pythonstart
> LTPROOT=/opt/ltp
> .... SNIP ...
>
> So the values look okay, but the run still fails.
Could you also add a check within childns.sh please?
Thanks,
-Garrett
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list