[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated
From: |
David Levine |
Subject: |
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 9ea2daf5e74e3ff03043cfa6fb68033aea0da52a |
Date: |
Tue, 07 Feb 2012 04:27:44 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".
The branch, master has been updated
via 9ea2daf5e74e3ff03043cfa6fb68033aea0da52a (commit)
from abde85b440e74e4852e96a23fd5f02d2f3bdd370 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=9ea2daf5e74e3ff03043cfa6fb68033aea0da52a
commit 9ea2daf5e74e3ff03043cfa6fb68033aea0da52a
Author: David Levine <address@hidden>
Date: Mon Feb 6 22:25:25 2012 -0600
Some tests failed because they displayed the user's local
time zone but expected GMT. So, set TZ in runtest to fool
them.
Though I wonder if we're failing to correct for local time zone.
diff --git a/test/runtest b/test/runtest
index 5cfc158..17ea5e6 100755
--- a/test/runtest
+++ b/test/runtest
@@ -12,6 +12,13 @@ export MH=$MH_TEST_DIR/Mail/.mh_profile
export PATH=$MH_TEST_DIR/bin:$PATH
export MH_TEST_COMMON=$PWD/common.sh
+#### Some tests use mhshow to display headers. It relies on mhl's
+#### default mhl.headers, which runs the date through the pretty
+#### function. That displays the date with the user's current
+#### timezone. All of the tests expect GMT, so fool them into using
+#### that.
+export TZ=GMT
+
[ -d $MH_TEST_DIR ] || ./setup-test
# clean old test data
diff --git a/test/tests/bad-input/test-header b/test/tests/bad-input/test-header
index b9e76a1..c61e021 100644
--- a/test/tests/bad-input/test-header
+++ b/test/tests/bad-input/test-header
@@ -21,7 +21,7 @@ actual=$MH_TEST_DIR/$$.actual
msgfile=$(mhpath new)
msgnum=$(basename $msgfile)
cat > $msgfile <<EOF
-Date: Sun, 18 Dec 2005 00:52:39 +0100
+Date: Sun, 18 Dec 2005 00:52:39 +0000
From: address@hidden
To: address@hidden
Subject: test
@@ -41,7 +41,7 @@ check
cat > $expected <<EOF
(Message inbox:11)
-Date: Sun, 18 Dec 2005 00:52:39 +0100
+Date: Sun, 18 Dec 2005 00:52:39 GMT
To: address@hidden
From: address@hidden
Subject: test
@@ -57,7 +57,7 @@ check
# check mhshow
cat > $expected <<EOF
-Date: Sun, 18 Dec 2005 00:52:39 +0100
+Date: Sun, 18 Dec 2005 00:52:39 GMT
To: address@hidden
From: address@hidden
Subject: test
diff --git a/test/tests/mhshow/test-qp b/test/tests/mhshow/test-qp
index ae6ec05..b674b76 100644
--- a/test/tests/mhshow/test-qp
+++ b/test/tests/mhshow/test-qp
@@ -19,7 +19,7 @@ To: address@hidden
Subject: test
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
-Date: Sun, 18 Dec 2005 00:52:39 +0100
+Date: Sun, 18 Dec 2005 00:52:39 +0000
=3D
=3d
@@ -38,7 +38,7 @@ EOF
# check it
cat > $expected <<EOF
-Date: Sun, 18 Dec 2005 00:52:39 +0100
+Date: Sun, 18 Dec 2005 00:52:39 GMT
To: address@hidden
From: address@hidden
Subject: test
-----------------------------------------------------------------------
Summary of changes:
test/runtest | 7 +++++++
test/tests/bad-input/test-header | 6 +++---
test/tests/mhshow/test-qp | 4 ++--
3 files changed, 12 insertions(+), 5 deletions(-)
hooks/post-receive
--
The nmh Mail Handling System
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 9ea2daf5e74e3ff03043cfa6fb68033aea0da52a,
David Levine <=