Mercurial > hg
comparison tests/test-static-http @ 3469:33b6c8193652
Don't use test -e in tests - sh doesn't like it on Solaris
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 18 Oct 2006 18:47:50 -0300 |
parents | 7012c889e8f2 |
children | 347766c2ff86 |
comparison
equal
deleted
inserted
replaced
3468:5155fa27f514 | 3469:33b6c8193652 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 http_proxy= hg clone static-http://localhost:20059/ copy | 3 http_proxy= hg clone static-http://localhost:20059/ copy |
4 echo $? | 4 echo $? |
5 test -e copy || echo copy: No such file or directory | 5 test -d copy || 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 |