Message ID | a50cf5ab0907122303l75186226v9b00352112f823f2@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Martin, Lucas Do I need to resend the patches as attachments ? I hope you would have a given a look on the patches. Please let me know if still something more needs to be done. I am happy addressing all your comments. On Mon, Jul 13, 2009 at 11:33 AM, sudhir kumar<smalikphy@gmail.com> wrote: > This patch updates the ltp.patch in autotest to disable few testcases. > This patch disables the default execution of some testcases which are > either broken or are not required to be executed. > > If someone wants to execute only a subset of the testcases then one can > update this patch to achieve the required flexibility. > > Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com> > > Index: autotest/client/tests/ltp/ltp.patch > =================================================================== > --- autotest.orig/client/tests/ltp/ltp.patch > +++ autotest/client/tests/ltp/ltp.patch > @@ -1,38 +1,55 @@ > -diff -urN ltp-full-20080229_vanilla/runtest/syscalls > ltp-full-20080229/runtest/syscalls > ---- ltp-full-20080229_vanilla/runtest/syscalls 2008-02-28 > 23:55:41.000000000 -0800 > -+++ ltp-full-20080229/runtest/syscalls 2008-03-07 10:35:28.000000000 -0800 > -@@ -981,7 +981,7 @@ > + > +Index: ltp-full-20090630/runltp > +=================================================================== > +--- ltp-full-20090630.orig/runltp > ++++ ltp-full-20090630/runltp > +@@ -536,7 +536,6 @@ main() > +              ${LTPROOT}/runtest/pty           \ > +              ${LTPROOT}/runtest/containers        \ > +              ${LTPROOT}/runtest/fs_bind         \ > +-             ${LTPROOT}/runtest/controllers       \ > +              ${LTPROOT}/runtest/filecaps         \ > +              ${LTPROOT}/runtest/cap_bounds        \ > +              ${LTPROOT}/runtest/fcntl-locktests     \ > +Index: ltp-full-20090630/runtest/syscalls > +=================================================================== > +--- ltp-full-20090630.orig/runtest/syscalls > ++++ ltp-full-20090630/runtest/syscalls > +@@ -1249,7 +1249,7 @@ vhangup01 vhangup01 >  vhangup02 vhangup02 > - > + >  #vmsplice test cases >  -vmsplice01 vmsplice01 >  +#vmsplice01 vmsplice01 > - > + >  wait02 wait02 > - > -diff -urN ltp-full-20080229_vanilla/testcases/kernel/syscalls/paging/Makefile > ltp-full-20080229/testcases/kernel/syscalls/paging/Makefile > ---- ltp-full-20080229_vanilla/testcases/kernel/syscalls/paging/Makefile >    2008-02-28 23:55:46.000000000 -0800 > -+++ ltp-full-20080229/testcases/kernel/syscalls/paging/Makefile >  2008-03-07 10:37:48.000000000 -0800 > -@@ -25,7 +25,9 @@ > + > +Index: ltp-full-20090630/testcases/kernel/syscalls/paging/Makefile > +=================================================================== > +--- ltp-full-20090630.orig/testcases/kernel/syscalls/paging/Makefile > ++++ ltp-full-20090630/testcases/kernel/syscalls/paging/Makefile > +@@ -25,7 +25,9 @@ TARGETS = $(patsubst %.c,%,$(SRCS)) >  all: $(TARGETS) > >  install: >  +ifneq ($(TARGETS),) > -    @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done > +     @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done >  +endif > >  clean: > -    rm -f $(TARGETS) > -diff -urN ltp-full-20080229_vanilla/testcases/network/nfsv4/acl/Makefile > ltp-full-20080229/testcases/network/nfsv4/acl/Makefile > ---- ltp-full-20080229_vanilla/testcases/network/nfsv4/acl/Makefile >  2008-02-28 23:55:52.000000000 -0800 > -+++ ltp-full-20080229/testcases/network/nfsv4/acl/Makefile > 2008-03-07 10:38:23.000000000 -0800 > -@@ -19,7 +19,9 @@ > -    $(CC) $(CFLAGS) $(LDFLAGS) -o acl1 acl1.c $(LIBS) > +     rm -f $(TARGETS) > +Index: ltp-full-20090630/testcases/network/nfsv4/acl/Makefile > +=================================================================== > +--- ltp-full-20090630.orig/testcases/network/nfsv4/acl/Makefile > ++++ ltp-full-20090630/testcases/network/nfsv4/acl/Makefile > +@@ -19,7 +19,9 @@ acl1: acl1.c > +     $(CC) $(CFLAGS) $(LDFLAGS) -o acl1 acl1.c $(LIBS) > >  install: $(ACLTESTS) >  +ifneq ($(ACLTESTS),) > -    @set -e; for i in $(ACLTESTS); do ln -f $$i ../../../bin ; done > +     @set -e; for i in $(ACLTESTS); do ln -f $$i ../../../bin ; done >  +endif > >  clean: > -    rm -f $(ACLTESTS) > +     rm -f $(ACLTESTS) > + > > > -- > Sudhir Kumar >
Index: autotest/client/tests/ltp/ltp.patch =================================================================== --- autotest.orig/client/tests/ltp/ltp.patch +++ autotest/client/tests/ltp/ltp.patch @@ -1,38 +1,55 @@ -diff -urN ltp-full-20080229_vanilla/runtest/syscalls ltp-full-20080229/runtest/syscalls ---- ltp-full-20080229_vanilla/runtest/syscalls 2008-02-28 23:55:41.000000000 -0800 -+++ ltp-full-20080229/runtest/syscalls 2008-03-07 10:35:28.000000000 -0800 -@@ -981,7 +981,7 @@ + +Index: ltp-full-20090630/runltp +=================================================================== +--- ltp-full-20090630.orig/runltp ++++ ltp-full-20090630/runltp +@@ -536,7 +536,6 @@ main() + ${LTPROOT}/runtest/pty \ + ${LTPROOT}/runtest/containers \ + ${LTPROOT}/runtest/fs_bind \ +- ${LTPROOT}/runtest/controllers \ + ${LTPROOT}/runtest/filecaps \ + ${LTPROOT}/runtest/cap_bounds \ + ${LTPROOT}/runtest/fcntl-locktests \ +Index: ltp-full-20090630/runtest/syscalls +=================================================================== +--- ltp-full-20090630.orig/runtest/syscalls ++++ ltp-full-20090630/runtest/syscalls +@@ -1249,7 +1249,7 @@ vhangup01 vhangup01 vhangup02 vhangup02 - + #vmsplice test cases -vmsplice01 vmsplice01 +#vmsplice01 vmsplice01 - + wait02 wait02 - -diff -urN ltp-full-20080229_vanilla/testcases/kernel/syscalls/paging/Makefile ltp-full-20080229/testcases/kernel/syscalls/paging/Makefile ---- ltp-full-20080229_vanilla/testcases/kernel/syscalls/paging/Makefile 2008-02-28 23:55:46.000000000 -0800 -+++ ltp-full-20080229/testcases/kernel/syscalls/paging/Makefile 2008-03-07 10:37:48.000000000 -0800 -@@ -25,7 +25,9 @@ + +Index: ltp-full-20090630/testcases/kernel/syscalls/paging/Makefile +=================================================================== +--- ltp-full-20090630.orig/testcases/kernel/syscalls/paging/Makefile ++++ ltp-full-20090630/testcases/kernel/syscalls/paging/Makefile +@@ -25,7 +25,9 @@ TARGETS = $(patsubst %.c,%,$(SRCS)) all: $(TARGETS) install: +ifneq ($(TARGETS),) - @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done + @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done +endif clean: - rm -f $(TARGETS) -diff -urN ltp-full-20080229_vanilla/testcases/network/nfsv4/acl/Makefile ltp-full-20080229/testcases/network/nfsv4/acl/Makefile ---- ltp-full-20080229_vanilla/testcases/network/nfsv4/acl/Makefile 2008-02-28 23:55:52.000000000 -0800 -+++ ltp-full-20080229/testcases/network/nfsv4/acl/Makefile 2008-03-07 10:38:23.000000000 -0800 -@@ -19,7 +19,9 @@ - $(CC) $(CFLAGS) $(LDFLAGS) -o acl1 acl1.c $(LIBS) + rm -f $(TARGETS) +Index: ltp-full-20090630/testcases/network/nfsv4/acl/Makefile +=================================================================== +--- ltp-full-20090630.orig/testcases/network/nfsv4/acl/Makefile ++++ ltp-full-20090630/testcases/network/nfsv4/acl/Makefile +@@ -19,7 +19,9 @@ acl1: acl1.c + $(CC) $(CFLAGS) $(LDFLAGS) -o acl1 acl1.c $(LIBS)
This patch updates the ltp.patch in autotest to disable few testcases. This patch disables the default execution of some testcases which are either broken or are not required to be executed. If someone wants to execute only a subset of the testcases then one can update this patch to achieve the required flexibility. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com> install: $(ACLTESTS) +ifneq ($(ACLTESTS),) - @set -e; for i in $(ACLTESTS); do ln -f $$i ../../../bin ; done + @set -e; for i in $(ACLTESTS); do ln -f $$i ../../../bin ; done +endif clean: - rm -f $(ACLTESTS) + rm -f $(ACLTESTS) +