On Fri, 2008-06-27 at 16:28 +0530, Subrata Modak wrote:
> On Fri, 2008-06-27 at 16:16 +0900, Masatake YAMATO wrote:
> > > I am afraid that this new version introduced more failures than the
> > > previous one. I have resorted to and merged the last stable patch given
> > > by you. I have additionally included run-io_cancel.sh to check for
> > > io_cancel01 binary availability on machines where it has not been built.
> > > If the tests are built it will run the tests, else will show the CONF
> > > message.
> > 
> > I see. Could you apply following patch?
> > I'd like to use the mechanism you introduced in io_* testcases.
> > So I've made 'io_cancel' string in the script and Makefile a variable
> > to avoid mistake.
> > 
> > I made the patch from testcases/kernel/syscalls/io_cancel/Makefile,
> > not from ltp/testcases/kernel/syscalls/io_cancel/Makefile. Is this 
> > acceptable.
> 
> Yes it is.
> 
> > CVS reports like testcases/kernel/syscalls/io_cancel/Makefile.
> > 
> > 
> > Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]>
> > 
> 
> Thanks. This has been merged.
> 
> I would be eagerly waiting to see the next set of porting Patches
> hitting LTP mailing list soon.

Hi Yamato,

Are we ready to resume again :-)

Regards--
Subrata

> 
> Regards--
> Subrata
> 
> > Index: testcases/kernel/syscalls/io_cancel/Makefile
> > ===================================================================
> > RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/io_cancel/Makefile,v
> > retrieving revision 1.1
> > diff -u -r1.1 Makefile
> > --- testcases/kernel/syscalls/io_cancel/Makefile    26 Jun 2008 13:27:18 
> > -0000      1.1
> > +++ testcases/kernel/syscalls/io_cancel/Makefile    27 Jun 2008 06:40:00 
> > -0000
> > @@ -23,6 +23,8 @@
> > 
> >  SRCS    = $(wildcard *.c)
> >  TARGETS = $(patsubst %.c,%,$(SRCS))
> > +SYSCALL = io_cancel
> > +
> > 
> >  check_header = $(shell \
> >     if echo "\#include <$(1)>" | $(CC) -E - > /dev/null 2>&1 ; \
> > @@ -38,7 +40,7 @@
> > 
> >  install:
> >     @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done
> > -   cp run-io_cancel.sh ../../../bin/run-io_cancel.sh
> > +   cp run-$(SYSCALL).sh ../../../bin/run-$(SYSCALL).sh
> > 
> >  else ### does not have libaio.h ###
> > 
> > Index: testcases/kernel/syscalls/io_cancel/run-io_cancel.sh
> > ===================================================================
> > RCS file: 
> > /cvsroot/ltp/ltp/testcases/kernel/syscalls/io_cancel/run-io_cancel.sh,v
> > retrieving revision 1.1
> > diff -u -r1.1 run-io_cancel.sh
> > --- testcases/kernel/syscalls/io_cancel/run-io_cancel.sh    26 Jun 2008 
> > 13:27:18 -0000      1.1
> > +++ testcases/kernel/syscalls/io_cancel/run-io_cancel.sh    27 Jun 2008 
> > 06:40:00 -0000
> > @@ -1,9 +1,11 @@
> >  #!/bin/sh
> > 
> > -if [ -f $LTPROOT/testcases/bin/io_cancel01 ]; then
> > -         $LTPROOT/testcases/bin/io_cancel01
> > +syscall=io_cancel
> > +
> > +if [ -f $LTPROOT/testcases/bin/${syscall}01 ]; then
> > +         $LTPROOT/testcases/bin/${syscall}01
> >  else
> > -         echo "io_cancel01 0 CONF : System doesn't support execution of 
> > the test"
> > +         echo "${syscall}01 0 CONF : System doesn't support execution of 
> > the test"
> > 
> >  fi
> > 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to