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@xxxxxxxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html