changeset 382:37249c522770

test suite: fix timezone problems and port collision problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 test suite: fix timezone problems and port collision problem manifest hash: 44652133f49c24679b289c0250eb591682225c54 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsaq7ywK+sNU5EO8RAluQAKCSuUGge7bQPbWbQoIfWETDFRibNwCgs12e /TSLCPJ0aHvqttMhJSaYOSU= =5OYO -----END PGP SIGNATURE-----
author mpm@selenic.com
date Thu, 16 Jun 2005 08:37:15 -0800
parents 024ee0f8722a
children 4862a134e2c2
files tests/run-tests tests/test-basic.out tests/test-copy.out tests/test-pull tests/test-undo.out tests/test-up-local-change.out
diffstat 6 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests	Thu Jun 16 00:39:30 2005 -0800
+++ b/tests/run-tests	Thu Jun 16 08:37:15 2005 -0800
@@ -8,6 +8,7 @@
 
 function run_one
 {
+    export TZ=GMT
     D=`mktemp -d`
     if [ "$D" == "" ] ; then
 	echo mktemp failed!
--- a/tests/test-basic.out	Thu Jun 16 00:39:30 2005 -0800
+++ b/tests/test-basic.out	Thu Jun 16 08:37:15 2005 -0800
@@ -7,7 +7,7 @@
 + hg history
 changeset:   0:acb14030fe0a21b60322c440ad2d20cf7685a376
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 summary:     test
 
 + hg manifest
--- a/tests/test-copy.out	Thu Jun 16 00:39:30 2005 -0800
+++ b/tests/test-copy.out	Thu Jun 16 08:37:15 2005 -0800
@@ -15,19 +15,19 @@
 + hg history
 changeset:   1:3b5b84850bbed12e8ff8c1b87b32dc93c59ae6d8
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 summary:     2
 
 changeset:   0:c19d34741b0a4ced8e4ba74bb834597d5193851e
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 summary:     1
 
 + hg log a
 revision:    0:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
 changeset:   0:c19d34741b0a4ced8e4ba74bb834597d5193851e
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 summary:     1
 
 + hexdump -C .hg/data/b.d
--- a/tests/test-pull	Thu Jun 16 00:39:30 2005 -0800
+++ b/tests/test-pull	Thu Jun 16 08:37:15 2005 -0800
@@ -9,13 +9,13 @@
 hg addremove
 hg commit -t "1"
 hg verify
-hg serve 2>/dev/null &
+hg serve -p 20059 2>/dev/null &
 C=$!
 cd ..
 
 mkdir copy
 cd copy
-hg init http://localhost:8000/
+hg init http://localhost:20059/
 hg verify
 hg co
 cat foo
--- a/tests/test-undo.out	Thu Jun 16 00:39:30 2005 -0800
+++ b/tests/test-undo.out	Thu Jun 16 08:37:15 2005 -0800
@@ -13,7 +13,7 @@
 + hg parents
 changeset:   0:acb14030fe0a21b60322c440ad2d20cf7685a376
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 summary:     test
 
 + hg status
--- a/tests/test-up-local-change.out	Thu Jun 16 00:39:30 2005 -0800
+++ b/tests/test-up-local-change.out	Thu Jun 16 08:37:15 2005 -0800
@@ -41,14 +41,14 @@
 + hg parents
 changeset:   1:1e71731e6fbb5b35fae293120dea6964371c13c6
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 summary:     2
 
 + hg -v history
 changeset:   1:1e71731e6fbb5b35fae293120dea6964371c13c6
 manifest:    1:1165e8bd193e17ad7d321d846fcf27ff3f412758
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 files:       a b
 description:
 2
@@ -56,7 +56,7 @@
 changeset:   0:c19d34741b0a4ced8e4ba74bb834597d5193851e
 manifest:    0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
 user:        test
-date:        Wed Dec 31 16:00:00 1969
+date:        Thu Jan  1 00:00:00 1970
 files:       a
 description:
 1