[PATCH 2/4] test: add some more time tests
authorJani Nikula <jani@nikula.org>
Mon, 2 Mar 2015 17:47:02 +0000 (19:47 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:48:12 +0000 (14:48 -0700)
40/57265e72cf783647327da131fe9afcad686789 [new file with mode: 0644]

diff --git a/40/57265e72cf783647327da131fe9afcad686789 b/40/57265e72cf783647327da131fe9afcad686789
new file mode 100644 (file)
index 0000000..555d085
--- /dev/null
@@ -0,0 +1,90 @@
+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 AE1C7431FBD\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Mar 2015 10:24:14 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.738\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.738 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7]\r
+       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 PsT8P-6X1jht for <notmuch@notmuchmail.org>;\r
+       Mon,  2 Mar 2015 10:24:11 -0800 (PST)\r
+Received: from mail-we0-f174.google.com (mail-we0-f174.google.com\r
+       [74.125.82.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id DD1A8414B85\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Mar 2015 09:49:29 -0800 (PST)\r
+Received: by wevm14 with SMTP id m14so34840520wev.13\r
+       for <notmuch@notmuchmail.org>; Mon, 02 Mar 2015 09:46:49 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
+       :references;\r
+       bh=0sgXF6llWJj9p+AejWQ1+/r7ul9r6L8UqTnmQh66+lA=;\r
+       b=lxhj+En0b2GDKbRTxPlP38wk/WXObAcLntWDHTFnu70swb0C9tOT8AXG+1TY+NyNFT\r
+       gx3sZHT2a/pZOJjlr0K++Br8riTpr7xRx7+P1FBo0zwdOwwQK1fIWrhoclAZRRm2YDt6\r
+       5eh2fmcXNHe8/mnlk3JZ/8msQUiUnIGKcJVru40CRURyiO48sNhRv/PmZ99laFzYxzVm\r
+       0AcvvBIc04IbxzTU+CeCyeu1xxIuOxfQm4xUMH7Gs5tkZP/NFNXpdm9MWP5jRHj8hGOC\r
+       GIGtCqn47igF4mlsoCK/t+Wi5PJvH0o/34ZgHVTbGgOWtmCrauTkex1DKBg8R5XO6WmM\r
+       FY4A==\r
+X-Gm-Message-State:\r
+ ALoCoQlF5/HRNZYTNKnEDMc3m98NpvcYQECKI/pj4610HWqLfFD56/hYyq9b+RVZhfqa8vkpxfp0\r
+X-Received: by 10.194.174.164 with SMTP id bt4mr54507210wjc.7.1425318409737;\r
+       Mon, 02 Mar 2015 09:46:49 -0800 (PST)\r
+Received: from localhost (mobile-internet-bcee3b-76.dhcp.inet.fi.\r
+       [188.238.59.76])\r
+       by mx.google.com with ESMTPSA id k1sm20217333wjn.9.2015.03.02.09.46.48\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Mon, 02 Mar 2015 09:46:48 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 2/4] test: add some more time tests\r
+Date: Mon,  2 Mar 2015 19:47:02 +0200\r
+Message-Id: <1425318424-27017-2-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 2.1.4\r
+In-Reply-To: <1425318424-27017-1-git-send-email-jani@nikula.org>\r
+References: <1425318424-27017-1-git-send-email-jani@nikula.org>\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: Mon, 02 Mar 2015 18:24:14 -0000\r
+\r
+Ensure the seconds are set properly.\r
+---\r
+ test/T490-parse-time-string.sh | 5 +++++\r
+ 1 file changed, 5 insertions(+)\r
+\r
+diff --git a/test/T490-parse-time-string.sh b/test/T490-parse-time-string.sh\r
+index 08a834eb1a80..ca3ecb4036ed 100755\r
+--- a/test/T490-parse-time-string.sh\r
++++ b/test/T490-parse-time-string.sh\r
+@@ -51,6 +51,11 @@ Aug 3 23:06:06 2012             ==> Fri Aug 03 23:06:06 +0000 2012 # date(1) def\r
+ Fri, 03 Aug 2012 23:07:46 +0100 ==> Fri Aug 03 22:07:46 +0000 2012 # rfc-2822\r
+ 2012-08-03 23:09:37+03:00       ==> Fri Aug 03 20:09:37 +0000 2012 # rfc-3339 seconds\r
\r
++10:30:40     ==> Tue Jan 11 10:30:40 +0000 2011\r
++10:30:40     ==^> Tue Jan 11 10:30:40 +0000 2011\r
++10:30:40     ==^^> Tue Jan 11 10:30:40 +0000 2011\r
++10:30:40     ==_> Tue Jan 11 10:30:40 +0000 2011\r
++\r
+ 10s           ==> Tue Jan 11 12:13:04 +0000 2011\r
+ 19701223s     ==> Fri May 28 11:39:31 +0000 2010\r
+ 19701223      ==> Wed Dec 23 12:13:14 +0000 1970\r
+-- \r
+2.1.4\r
+\r