tests/test-static-http
changeset 1962 2a676ad52c22
parent 1935 d32c442571f2
child 2431 d90a9d7c7d4d
equal deleted inserted replaced
1961:eff46e2c9d67 1962:2a676ad52c22
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 http_proxy= hg clone old-http://localhost:20059/ copy
     3 http_proxy= hg clone old-http://localhost:20059/ copy
     4 echo $?
     4 echo $?
     5 ls copy
     5 ls copy 2>/dev/null || echo copy: No such file or directory
     6 
     6 
     7 # This server doesn't do range requests so it's basically only good for
     7 # This server doesn't do range requests so it's basically only good for
     8 # one pull
     8 # one pull
     9 cat > dumb.py <<EOF
     9 cat > dumb.py <<EOF
    10 import BaseHTTPServer, SimpleHTTPServer, signal
    10 import BaseHTTPServer, SimpleHTTPServer, signal