LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Help:how to make LTP run in FreeBSD (https://www.linuxquestions.org/questions/%2Absd-17/help-how-to-make-ltp-run-in-freebsd-256359/)

willy_young 11-18-2004 06:04 AM

Help:how to make LTP run in FreeBSD
 
Trying to test the LTP in FreeBSD.
In /ltp/testcase/open_posix_testsuit ,I can't use the shell to run the programs.
when I "gmake build-test",it works ,compile and build *.test file.
but when I "gmake run-test",it doesn't work .whenever I try to make it,it only to said "Nothing to be done for 'run test'".I am sure my file has been changed.

In the linux,the run-tests is working.

:(

willy_young 11-18-2004 07:59 PM

yes. I got it.
It's the freebsd's 'sed' and 'sh' causing the problem.
The freebsd's sed seems not understanding '|' operator in 'replace' condition.
And, the freebsd's sh seems not understanding 'if [ $RESULT == 1 ];' syntax.

I use linux's 'sed' and 'sh' to replace the original ones and run LTP well.

ps: my freebsd version is 5.2.1


All times are GMT -5. The time now is 08:13 PM.