mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
tests: remove hacks for testing if file or directory exists
This commit is contained in:
parent
f695ee71c6
commit
cb035c4003
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user