On Tue, Feb 22, 2011 at 11:02 PM, Bian Naimeng <[email protected]> wrote: > Tests implemented by script will fail, because they try to invoke a > inexistent binary file. > > [root@Linux sigaddset]# ./1-1.sh > ./1-1.sh: line 20: conformance/interfaces/sigaddset/1-core-buildonly.test: No > such file or directory > > It's a widespread problem on the latest LTP.
It's a problem, but it isn't a disaster (28 scripts in all is small in comparison to the number of C tests). This sed fixed things on FreeBSD at least, but it isn't that hard to convert over to the GNU/sed format of calling sed though: $ find [cms]* -name '*.sh' | xargs grep -l buildonly | xargs -J % sed -i .bk -E -e 's,^[cfs].+[^/]/(.+)\.test,\./\1,g' -e 's,\-buildonly\.test,,g' % I've committed the end result after verifying that git diff's output was sane. Thanks, -Garrett ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
