From: xcf733520 <xcf...@si...> - 2015-09-09 06:58:07
|
> >Hi, >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 > > > Hi Alexey, Thanks for your help, add the $PATH "PATH=/opt/ltp/testcases/bin:$PATH" , it can be run normally. |