diff tests/test-static-http @ 1923:7d83a351a936

fix testsuite for freebsd and one timingissue
author Peter van Dijk <peter@dataloss.nl>
date Tue, 21 Feb 2006 22:23:51 +0100
parents 1170fef58071
children 7544700fd931
line wrap: on
line diff
--- a/tests/test-static-http	Fri Feb 17 17:41:23 2006 -0600
+++ b/tests/test-static-http	Tue Feb 21 22:23:51 2006 +0100
@@ -1,7 +1,8 @@
 #!/bin/sh
 
-http_proxy= hg clone old-http://localhost:20059/ copy
+http_proxy= hg clone old-http://localhost:20059/ copy > clonefail.out 2>&1
 echo $?
+sed 's/[0-9]//g' < clonefail.out
 ls copy
 
 # This server doesn't do range requests so it's basically only good for