comparison tests/test-bad-pull @ 1962:2a676ad52c22

tests: more portability fix for the old systems
author TK Soh <teekaysoh@yahoo.com>
date Wed, 15 Mar 2006 11:09:24 +0100
parents 397b62d5dd13
children
comparison
equal deleted inserted replaced
1961:eff46e2c9d67 1962:2a676ad52c22
1 #!/bin/sh 1 #!/bin/sh
2 2
3 hg clone http://localhost:20059/ copy 3 hg clone 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 cat > dumb.py <<EOF 7 cat > dumb.py <<EOF
8 import BaseHTTPServer, SimpleHTTPServer, signal 8 import BaseHTTPServer, SimpleHTTPServer, signal
9 9
10 def run(server_class=BaseHTTPServer.HTTPServer, 10 def run(server_class=BaseHTTPServer.HTTPServer,