From patchwork Thu Jun 13 18:53:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Randall S. Becker" X-Patchwork-Id: 10993501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0FAA214BB for ; Thu, 13 Jun 2019 18:53:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01B2222B27 for ; Thu, 13 Jun 2019 18:53:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9F6623201; Thu, 13 Jun 2019 18:53:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99E2F22F3E for ; Thu, 13 Jun 2019 18:53:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729388AbfFMSxl (ORCPT ); Thu, 13 Jun 2019 14:53:41 -0400 Received: from sonic303-25.consmr.mail.ne1.yahoo.com ([66.163.188.151]:36275 "EHLO sonic303-25.consmr.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729308AbfFMSxc (ORCPT ); Thu, 13 Jun 2019 14:53:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048; t=1560452011; bh=Ase6/uBQsZoJVs4POSXVEcJh2F2P3eyLZ2MuL0+CgA8=; h=From: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4MW5nHsRvLNiDQcJBj29UBkwCpQORfsfHg9nnxww55U94z_5m0JVxoGfnFLHCH5Ko1O _3l54DkpUsk9sggkEBnFufhxYFYWhLVhXrZfzcpwR.CXNcQEDA27VWWQ0LVkT8QkLPbzDaPgiFVb ZvbbEpUNJR9gvDq7VSuIiJvkK4VRRJ6xB8xMBPbGO9AmvDu027p9Sjwk27QrjRL4ojdM8CmJY7uv qVoLaYlwTfG7LQ7nB6uz0C9HkHdReqNZ4U9VNWYqqNlvZcq9o8JPJZz.bNa75AXwgoQAD5Vkmfdf fSXIKIGKFzbfasCNuvlj6uWNDOpV9BwglMF3saOKYrCxR9oXKiwLUYFpkz.ga93cf7060W.pXQLf cNJYKjxyjDxy1yzRfJhm4Pp.2O2SG0UJJN.LrVwPPjJwQhcLl0TVYtNnqMDLCriTfIDCZDfTW035 71VI0C4FrOh8u2MN3gglvWm_d6kROFr3c.dbRhuDwNkDgB3zf753T3Ut5Vq3xO4FuOqDnAS9K_Fy e7yRXKaHwXHKDwMYFDl_TetLbkZbgJ2MJdDNORx1Cp.ynrsjhqvWPYfivVoRSZs4vhrxJg9vQqSj hKrgptSMH6qO_xxS5ex3Ld3V4V5N5UE3Onws- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 13 Jun 2019 18:53:31 +0000 Received: from CPE00fc8d49d843-CM00fc8d49d840.cpe.net.cable.rogers.com (EHLO localhost.localdomain) ([99.229.179.249]) by smtp432.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0df5561e6e714d6e0f0f0c310b112dc6; Thu, 13 Jun 2019 18:53:27 +0000 (UTC) From: randall.s.becker@rogers.com To: git@vger.kernel.org Cc: "Randall S. Becker" Subject: [Patch 4/5] t9603-cvsimport-patchsets: exclude test if cvs is not installed Date: Thu, 13 Jun 2019 14:53:12 -0400 Message-Id: <20190613185313.16120-5-randall.s.becker@rogers.com> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20190613185313.16120-1-randall.s.becker@rogers.com> References: <20190613185313.16120-1-randall.s.becker@rogers.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Randall S. Becker" The t9603-cvsimport-patchsets test requires the cvs package to be installed on the system on which the test is being run. The test will fail if cvs is not installed. The patch checks that cvs is installed by running the object without arguments, which should complete successfully if available. Signed-off-by: Randall S. Becker --- t/t9603-cvsimport-patchsets.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/t9603-cvsimport-patchsets.sh b/t/t9603-cvsimport-patchsets.sh index 3e64b11eac..354cd66400 100755 --- a/t/t9603-cvsimport-patchsets.sh +++ b/t/t9603-cvsimport-patchsets.sh @@ -14,6 +14,13 @@ test_description='git cvsimport testing for correct patchset estimation' . ./lib-cvs.sh +cvs >/dev/null 2>&1 +if test $? -ne 1 +then + skip_all='skipping git-cvsimport tests, cvs not found' + test_done +fi + setup_cvs_test_repository t9603 test_expect_failure PERL 'import with criss cross times on revisions' '