[PATCH 0/3] test fixes, portability
authorJani Nikula <jani@nikula.org>
Tue, 4 Dec 2012 21:26:30 +0000 (23:26 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:28 +0000 (09:51 -0800)
7c/09b5a9ee06cb6aada88ac44a3f07da1dd41263 [new file with mode: 0644]

diff --git a/7c/09b5a9ee06cb6aada88ac44a3f07da1dd41263 b/7c/09b5a9ee06cb6aada88ac44a3f07da1dd41263
new file mode 100644 (file)
index 0000000..09f018a
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id A3085429E27\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Dec 2012 13:26:45 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id QevnacHkbUlL for <notmuch@notmuchmail.org>;\r
+       Tue,  4 Dec 2012 13:26:41 -0800 (PST)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+       [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E13BB431FAE\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Dec 2012 13:26:40 -0800 (PST)\r
+Received: by mail-lb0-f181.google.com with SMTP id ge1so3919540lbb.26\r
+       for <notmuch@notmuchmail.org>; Tue, 04 Dec 2012 13:26:39 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\r
+       bh=AfMH5vP9MbcHMw99R+MTxwdY4BaOFPktoyX4Oj15AKM=;\r
+       b=coX12wrSnF7g1vCfGQyI4QdM600ZwG0UeeMcRQV3YuKqQ+yaqErsETkUYAbma1oUml\r
+       CkyDf9lN6U0NHjATCJPJwuQp5uxG8HUAw8fWt7u+cemaovHziX0tNGubWRmjBkzVre5j\r
+       xgfsuEzXuEvXkIeieFJa7BfJjR9mX5x+0txVqe6usIeHHaWimWt4Fvk4zr+sw/heXWdg\r
+       onHmn5Hc40cIzz1SoJbpzODHTuZzGGWywH/hkUBncFkMEiKYMTOIdCScF9zCHJZK6H92\r
+       RkXF88/E25warEcFK+PlKBaHZ8zoKq6B1s5fDzlijZLFdX+3YEY+MrAOGRoypbLdWMv7\r
+       c5Mw==\r
+Received: by 10.112.40.3 with SMTP id t3mr3257635lbk.48.1354656398067;\r
+       Tue, 04 Dec 2012 13:26:38 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id z9sm1275417lby.8.2012.12.04.13.26.34\r
+       (version=SSLv3 cipher=OTHER); Tue, 04 Dec 2012 13:26:36 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] test fixes, portability\r
+Date: Tue,  4 Dec 2012 23:26:30 +0200\r
+Message-Id: <cover.1354656085.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+X-Gm-Message-State:\r
+ ALoCoQnvTmaHkbLyim8fYfN2MhLO0e2X4G+URVoEpZKNOrs+nsa3alecmQns1YCLhOD4J2rPMFp7\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 04 Dec 2012 21:26:45 -0000\r
+\r
+I had a glance at a 'make test' report on OS X [1], and tried to fix a\r
+few things from there. While at it, noticed that count test is horribly\r
+broken.\r
+\r
+BR,\r
+Jani.\r
+\r
+[1] https://spod.gy/p/u9j3zxg96vu6k3wy\r
+\r
+Jani Nikula (3):\r
+  test: fix count test\r
+  test: wrap 'wc -l' results in arithmetic evaluation to strip\r
+    whitespace\r
+  test: use perl instead of sed -r for portability\r
+\r
+ test/count       |   25 +++++++++++++------------\r
+ test/test-lib.sh |    2 +-\r
+ 2 files changed, 14 insertions(+), 13 deletions(-)\r
+\r
+-- \r
+1.7.10.4\r
+\r