From patchwork Thu Jun 13 18:53:13 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: 10993499 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 E101D13AD for ; Thu, 13 Jun 2019 18:53:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1BAC22B27 for ; Thu, 13 Jun 2019 18:53:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C626F232A7; 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 E6F6822B27 for ; Thu, 13 Jun 2019 18:53:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729323AbfFMSxd (ORCPT ); Thu, 13 Jun 2019 14:53:33 -0400 Received: from sonic316-23.consmr.mail.ne1.yahoo.com ([66.163.187.149]:40103 "EHLO sonic316-23.consmr.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729293AbfFMSxc (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=ViQTkdqKJDIcYKJ+eFSTDxn6kc0bb6QhC55b17i19AI=; h=From:To:C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VI5sna_ZOd2gSJWTW4J52vpby9VkllLV4c7qycjbKI_eQz_f3WYAEMAmNquYyO .Oiyzu0iAz9SWmA83yiwaScBArwqv7PYLE0pT3zMQgAfPr_.WKurnbqfLh27BYb.QioSBMnzmVBh JLBI0af6nULroZgcSNudh793uYXJlQzkWvgm0yyZYhyMtc.P7D4iAHDcrnYOrpPXV8e2RNfTbgcl kbFWZ4yQ5XINMPgeD2zWvNif29dGjAfZ6OKuYKayMVDzqIoqoWIf3oqWRfx8c4.B7CMuCv7oA3Ho 5_wrjMQIbRSobGsc2jxvMp0nQxKpnuPU8OeIiwRk8aFDRtv8.aBHho2L2WBxFVhD9Jpd.KnrgET9 oAusGd5YVFqz9TbVL33uH1VHKj8VN1dP_ZRuC7OGeTDLZFoBYONmUH3WY8zLORuGfyEZJ67_ys08 UQBbwsUZHLwOBAocyTFOGFHPVh89n6wn.7ibs0OMDIA9MXRZ_N9TC0ngPaSvLMT44tT9DOxvQc27 dNEJnR2_iGKTaBmKG9QNqoUymFxLLpwuJlraoXU.7xSa.3vA74u3mTz3n7sU0RVZaOhYY0tIr_Ik 2Ihg4nqqVXOroC1U.Akp6KH_.sXRzYcl64.IKtos- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.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 5/5] t9604-cvsimport-timestamps: exclude test if cvs is not installed Date: Thu, 13 Jun 2019 14:53:13 -0400 Message-Id: <20190613185313.16120-6-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 t9604-cvsimport-timestamps 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/t9604-cvsimport-timestamps.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/t9604-cvsimport-timestamps.sh b/t/t9604-cvsimport-timestamps.sh index 2ff4aa932d..1fbbd179c1 100755 --- a/t/t9604-cvsimport-timestamps.sh +++ b/t/t9604-cvsimport-timestamps.sh @@ -3,6 +3,13 @@ test_description='git cvsimport timestamps' . ./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 t9604 test_expect_success PERL 'check timestamps are UTC (TZ=CST6CDT)' '