Skip to content
Snippets Groups Projects
Commit 7012c889e8f2 authored by Alexis S. L. Carvalho's avatar Alexis S. L. Carvalho
Browse files

portability fixes for some tests

Apparently the ls on OS X 10.3.9 exits with success even if the file
given on the command line doesn't exist
parent 6bd676ee8b99
No related merge requests found
......@@ -2,7 +2,7 @@
hg clone http://localhost:20059/ copy
echo $?
ls copy 2>/dev/null || echo copy: No such file or directory
test -e copy || echo copy: No such file or directory
cat > dumb.py <<EOF
import BaseHTTPServer, SimpleHTTPServer, signal
......
......@@ -11,6 +11,6 @@
cat sub/b
hg co 0
cat sub/b 2>/dev/null || echo "sub/b not present"
ls sub 2>/dev/null || echo "sub not present"
test -e sub || echo "sub not present"
true
......@@ -2,7 +2,7 @@
http_proxy= hg clone static-http://localhost:20059/ copy
echo $?
ls copy 2>/dev/null || echo copy: No such file or directory
test -e copy || echo copy: No such file or directory
# This server doesn't do range requests so it's basically only good for
# one pull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment