##// END OF EJS Templates
Don't use test -e in tests - sh doesn't like it on Solaris
Alexis S. L. Carvalho -
r3469:33b6c819 default
parent child Browse files
Show More
@@ -9,7 +9,7 b' do_push()'
9 9 echo 'hgrc = """'
10 10 sed -e 1,2d b/.hg/hgrc
11 11 echo '"""'
12 if [ -e acl.config ]; then
12 if test -f acl.config; then
13 13 echo 'acl.config = """'
14 14 cat acl.config
15 15 echo '"""'
@@ -2,7 +2,7 b''
2 2
3 3 hg clone http://localhost:20059/ copy
4 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 7 cat > dumb.py <<EOF
8 8 import BaseHTTPServer, SimpleHTTPServer, signal
@@ -11,6 +11,6 b' hg commit -m "second" -d "1000000 0" sub'
11 11 cat sub/b
12 12 hg co 0
13 13 cat sub/b 2>/dev/null || echo "sub/b not present"
14 test -e sub || echo "sub not present"
14 test -d sub || echo "sub not present"
15 15
16 16 true
@@ -2,7 +2,7 b''
2 2
3 3 http_proxy= hg clone static-http://localhost:20059/ copy
4 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 7 # This server doesn't do range requests so it's basically only good for
8 8 # one pull
General Comments 0
You need to be logged in to leave comments. Login now