Fixed tests.
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 14 Jul 2005 08:57:54 +0100
changeset 695 085a8145e151
parent 692 695dd9a491da
child 696 b266e92bcd0b
Fixed tests. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fixed tests. manifest hash: f6f36e6f95ea99efccc84dfa1d0af63d414a0eba -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1hsCW7P1GVgWeRoRAtbyAJoDpbSygoutryu3P/miCpX2Q/LA8gCgiClo P+1ZpH0gycio/V4CKmj5Hlo= =JVBT -----END PGP SIGNATURE-----
tests/test-bad-pull
tests/test-bad-pull.out
tests/test-copy.out
--- a/tests/test-bad-pull	Wed Jul 13 01:53:27 2005 -0800
+++ b/tests/test-bad-pull	Thu Jul 14 08:57:54 2005 +0100
@@ -17,8 +17,9 @@
 run()
 EOF
 
+set +x # backgrounding sometimes disturbs the order of command tracing
 python dumb.py 2>/dev/null &
-sleep 2
+set -x
 
 hg clone http://localhost:20059/foo copy2
 echo $?
--- a/tests/test-bad-pull.out	Wed Jul 13 01:53:27 2005 -0800
+++ b/tests/test-bad-pull.out	Thu Jul 14 08:57:54 2005 +0100
@@ -6,8 +6,7 @@
 + ls copy
 ls: copy: No such file or directory
 + cat
-+ python dumb.py
-+ sleep 2
++ set +x
 + hg clone http://localhost:20059/foo copy2
 requesting all changes
 abort: HTTP Error 404: File not found
--- a/tests/test-copy.out	Wed Jul 13 01:53:27 2005 -0800
+++ b/tests/test-copy.out	Thu Jul 14 08:57:54 2005 +0100
@@ -27,7 +27,6 @@
 
 
 + hg log a
-revision:    0:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
 changeset:   0:c19d34741b0a4ced8e4ba74bb834597d5193851e
 user:        test
 date:        Thu Jan  1 00:00:00 1970