From patchwork Mon Jul 13 06:03:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: sudhir kumar X-Patchwork-Id: 35319 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6D63w4i028961 for ; Mon, 13 Jul 2009 06:03:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752201AbZGMGDx (ORCPT ); Mon, 13 Jul 2009 02:03:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751932AbZGMGDx (ORCPT ); Mon, 13 Jul 2009 02:03:53 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:41127 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751916AbZGMGDw (ORCPT ); Mon, 13 Jul 2009 02:03:52 -0400 Received: by wf-out-1314.google.com with SMTP id 26so694805wfd.4 for ; Sun, 12 Jul 2009 23:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=YcZAI8oJa3dD/6g7aC9Bs454VtM+QHmZ9w2POa5JqGA=; b=jL5XQOb8KNipZpNzZFj54bnGPTrGl1rI7o8t0wRio2KE4Z4/7+vw2EF19tQmSaegvp V2hzlt5izU03Kb+qWLkMmeHHryyCX5AHlsij4d/wFgiRRRAcI2DoeSzHnlXZkQoJwV3h gId3eUSgiw0edJpehD9GzEajjFt412PR74POk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=NTVka4B6CXvdP93GvDnK9yu7rCSwHYhcHr6rnRwfLn+DZeCIoxCogR7lcRVmGaSH// 4WpBknQXWjMWaL6Hm+UVgJJ+f5vNDf5EIa1yQNs0kyF9yht4E5PCCH59dj40DZflCglC 948ogt4y0gtaWv/iyp97FbV7B9bbCy/m3dBnk= MIME-Version: 1.0 Received: by 10.142.140.6 with SMTP id n6mr1233617wfd.69.1247465030990; Sun, 12 Jul 2009 23:03:50 -0700 (PDT) Date: Mon, 13 Jul 2009 11:33:50 +0530 Message-ID: Subject: [AUTOTEST] [PATCH 1/5] update ltp.patch From: sudhir kumar To: Autotest mailing list Cc: kvm-devel , Lucas Meneghel Rodrigues , Martin Bligh , smalikphy@gmail.com Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 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) + 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)