From patchwork Thu Jul 23 07:50:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23325 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 40AE427BBE4; Thu, 23 Jul 2020 08:52:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 0317C27BBE3 for ; Thu, 23 Jul 2020 08:52:09 +0100 (BST) Received: from localhost ([::1]:42760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyW1Q-0003I2-J2 for patchwork@mira.cbaines.net; Thu, 23 Jul 2020 03:52:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyW1K-0003Hq-NM for guix-patches@gnu.org; Thu, 23 Jul 2020 03:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyW1K-000499-Ev for guix-patches@gnu.org; Thu, 23 Jul 2020 03:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyW1K-00050u-E5 for guix-patches@gnu.org; Thu, 23 Jul 2020 03:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42488] [PATCH] gnu: khal: Fix a failing test. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 07:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42488 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42488@debbugs.gnu.org Cc: Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159549067719189 (code B ref -1); Thu, 23 Jul 2020 07:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 07:51:17 +0000 Received: from localhost ([127.0.0.1]:43839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyW0W-0004zN-U9 for submit@debbugs.gnu.org; Thu, 23 Jul 2020 03:51:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:58254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyW0U-0004zD-VI for submit@debbugs.gnu.org; Thu, 23 Jul 2020 03:51:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyW0U-00039a-Ng for guix-patches@gnu.org; Thu, 23 Jul 2020 03:51:10 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyW0S-0003zs-Kv for guix-patches@gnu.org; Thu, 23 Jul 2020 03:51:10 -0400 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 4CC01E000E; Thu, 23 Jul 2020 07:51:03 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 23 Jul 2020 09:50:43 +0200 Message-Id: <20200723075043.19237-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Received-SPF: none client-ip=217.70.183.196; envelope-from=tanguy@bioneland.org; helo=relay4-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 00:42:08 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/calendar.scm (khal): [arguments] Fix a failing test. --- gnu/packages/calendar.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 726687d488..53c73c969d 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2020 Marius Bakke +;;; Copyright © 2020 Tanguy Le Carrour ;;; ;;; This file is part of GNU Guix. ;;; @@ -195,6 +196,12 @@ data units.") "doc/build/man/khal.1" (string-append (assoc-ref outputs "out") "/share/man/man1")) #t)) + (add-before 'check 'fix-tests + (lambda _ + ;; Reported upstream: . + (substitute* "tests/cli_test.py" + (("Invalid value for \"\\[ICS\\]\"") "Invalid value for \\'[ICS]\\'")) + #t)) (replace 'check (lambda* (#:key inputs #:allow-other-keys) ;; The tests require us to choose a timezone.