tests: remove hacks for testing if file or directory exists

This commit is contained in:
Mads Kiilerich 2011-11-16 03:45:14 +01:00
parent f695ee71c6
commit cb035c4003
2 changed files with 4 additions and 4 deletions

View File

@ -48,8 +48,8 @@ backout of backout is as if nothing happened
$ hg backout -d '3 0' --merge tip --tool=true
removing a
changeset 3:7f6d0f120113 backs out changeset 2:de31bdc76c0d
$ cat a 2>/dev/null || echo cat: a: No such file or directory
cat: a: No such file or directory
$ test -f a
[1]
across branch

View File

@ -4,8 +4,8 @@
abort: error: Connection refused
[255]
$ test -d copy || echo copy: No such file or directory
copy: No such file or directory
$ test -d copy
[1]
$ cat > dumb.py <<EOF
> import BaseHTTPServer, SimpleHTTPServer, os, signal