comparison tests/test-static-http @ 7919:3e6206967570

Backed out changeset 490e40816cbd The difference came from a configuration difference (network unreachable vs. connection refused), not from an OS change.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 30 Mar 2009 01:23:01 +0200
parents 490e40816cbd
children d4a62b6d4a58
comparison
equal deleted inserted replaced
7903:490e40816cbd 7919:3e6206967570
1 #!/bin/sh 1 #!/bin/sh
2 2
3 cp "$TESTDIR"/printenv.py . 3 cp "$TESTDIR"/printenv.py .
4 4
5 { http_proxy= hg clone http://localhost:$HGPORT/ copy 2>&1; echo $?; } | \ 5 http_proxy= hg clone http://localhost:$HGPORT/ copy
6 sed 's/error:.*/error:/' 6 echo $?
7 test -d copy || echo copy: No such file or directory 7 test -d copy || echo copy: No such file or directory
8 8
9 # This server doesn't do range requests so it's basically only good for 9 # This server doesn't do range requests so it's basically only good for
10 # one pull 10 # one pull
11 cat > dumb.py <<EOF 11 cat > dumb.py <<EOF