##// END OF EJS Templates
tests: more portability fix for the old systems
TK Soh -
r1962:2a676ad5 default
parent child Browse files
Show More
@@ -2,7 +2,7 b''
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
@@ -1,7 +1,7 b''
1 requesting all changes
1 requesting all changes
2 abort: error: Connection refused
2 abort: error: Connection refused
3 255
3 255
4 ls: copy: No such file or directory
4 copy: No such file or directory
5 requesting all changes
5 requesting all changes
6 abort: HTTP Error 404: File not found
6 abort: HTTP Error 404: File not found
7 255
7 255
@@ -2,7 +2,7 b''
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
@@ -1,6 +1,6 b''
1 abort: Connection refused
1 abort: Connection refused
2 255
2 255
3 ls: copy: No such file or directory
3 copy: No such file or directory
4 changeset: 0:53e17d176ae6
4 changeset: 0:53e17d176ae6
5 tag: tip
5 tag: tip
6 user: test
6 user: test
General Comments 0
You need to be logged in to leave comments. Login now