]> diplodocus.org Git - nmh/blobdiff - test/runtest
Some tests failed because they displayed the user's local
[nmh] / test / runtest
index 5cfc15846b0a580e4128c642fec6cb4a4fff9782..17ea5e6a2a3cec4d9e6e51dcd0da222b5c53d0d0 100755 (executable)
@@ -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