##// END OF EJS Templates
Backed out changeset 490e40816cbd...
Benoit Boissinot -
r7919:3e620696 default
parent child Browse files
Show More
@@ -1,7 +1,7 b''
1 #!/bin/sh
1 #!/bin/sh
2
2
3 { hg clone http://localhost:$HGPORT/ copy 2>&1; echo $?; } | \
3 hg clone http://localhost:$HGPORT/ copy
4 sed 's/error:.*/error:/'
4 echo $?
5 test -d copy || echo copy: No such file or directory
5 test -d copy || echo copy: No such file or directory
6
6
7 cat > dumb.py <<EOF
7 cat > dumb.py <<EOF
@@ -23,7 +23,8 b' echo $! >> $DAEMON_PIDS'
23 # give the server some time to start running
23 # give the server some time to start running
24 sleep 1
24 sleep 1
25
25
26 { http_proxy= hg clone http://localhost:$HGPORT/foo copy2 2>&1; echo $?; } | \
26 http_proxy= hg clone http://localhost:$HGPORT/foo copy2 2>&1 | \
27 sed -e 's/404.*/404/' -e 's/Date:.*/Date:/'
27 sed -e 's/404.*/404/' -e 's/Date:.*/Date:/'
28 echo $?
28
29
29 kill $!
30 kill $!
@@ -1,5 +1,5 b''
1 abort: error:
1 abort: error: Connection refused
2 255
2 255
3 copy: No such file or directory
3 copy: No such file or directory
4 abort: HTTP Error 404
4 abort: HTTP Error 404
5 255
5 0
@@ -36,8 +36,7 b' echo %% url with user name and password'
36 http_proxy=http://user:passwd@localhost:$HGPORT1 hg clone --config http_proxy.always=True http://user:passwd@localhost:$HGPORT/ e
36 http_proxy=http://user:passwd@localhost:$HGPORT1 hg clone --config http_proxy.always=True http://user:passwd@localhost:$HGPORT/ e
37
37
38 echo %% bad host:port for proxy
38 echo %% bad host:port for proxy
39 http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f 2>&1 | \
39 http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f
40 sed 's/error:.*/error:/'
41
40
42 echo %% do not use the proxy if it is in the no list
41 echo %% do not use the proxy if it is in the no list
43 http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g
42 http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g
@@ -48,7 +48,7 b' added 1 changesets with 1 changes to 1 f'
48 updating working directory
48 updating working directory
49 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
49 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
50 %% bad host:port for proxy
50 %% bad host:port for proxy
51 abort: error:
51 abort: error: Connection refused
52 %% do not use the proxy if it is in the no list
52 %% do not use the proxy if it is in the no list
53 requesting all changes
53 requesting all changes
54 adding changesets
54 adding changesets
@@ -2,8 +2,8 b''
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
@@ -1,4 +1,4 b''
1 abort: error:
1 abort: error: Connection refused
2 255
2 255
3 copy: No such file or directory
3 copy: No such file or directory
4 changeset: 0:53e17d176ae6
4 changeset: 0:53e17d176ae6
General Comments 0
You need to be logged in to leave comments. Login now