Skip to contentSkip to conversation

about testscript run

LTP xcf733520 2 participants 3 messages Sep 8, 2015 – Sep 9, 2015

lore
Share & tools
lore

xcf733520

author
#0 lore raw

Hi all,

I try to run testscript in the directory of /opt/ltp/testscripts, when try networkstress.sh/networktests.sh it show as below,

./network.sh: line 5: test_net.sh: No such file or directory

Do them networkstress.sh/networktests.sh run directly?

--------------
xcf733520
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi,

Quoted 5 lines · On 09/08/2015 02:39 PM, xcf733520 wrote:

Hi all,

I try to run testscript in the directory of /opt/ltp/testscripts, when try networkstress.sh/networktests.sh it show as below,

./network.sh: line 5: test_net.sh: No such file or directory

test_net.sh script should be in the PATH. Usually, installation directory /opt/ltp/testcases/bin is set to the PATH. Then you can run ./networktests.sh.

Alternatively, you can try to set the PATH to networkstress.sh or networktests.sh:

$ PATH=/opt/ltp/testcases/bin:$PATH ./networktests.sh

Thanks,
Alexey

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

author
#2 lore raw
Quoted 14 lines

Hi,

Quoted 5 lines · On 09/08/2015 02:39 PM, xcf733520 wrote:

Hi all,

I try to run testscript in the directory of /opt/ltp/testscripts, when try networkstress.sh/networktests.sh it show as below,

./network.sh: line 5: test_net.sh: No such file or directory

test_net.sh script should be in the PATH. Usually, installation directory /opt/ltp/testcases/bin is set to the PATH. Then you can run ./networktests.sh.

Quoted 10 lines

Alternatively, you can try to set the PATH to networkstress.sh or networktests.sh:

$ PATH=/opt/ltp/testcases/bin:$PATH ./networktests.sh

Thanks,
Alexey

Hi Alexey,
Thanks for your help, add the $PATH "PATH=/opt/ltp/testcases/bin:$PATH" , it can be run normally.
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list