Skip to content
Snippets Groups Projects
Commit 01ed5bb5 authored by kiilerix's avatar kiilerix
Browse files

tests: use hghave eol-in-paths to test for support for ':' in filenames and " "

It is an approximation but seems to work ok ... and testing that 'foo:bar'
creates a real file and not just a resource fork is not completely trivial.
parent 3d71807c
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,11 @@
A a
A b
A con.xml
$ hg forget con.xml
$ rm con.xml
#endif
#if eol-in-paths
$ echo bla > 'hello:world'
$ hg --config ui.portablefilenames=abort add
adding hello:world
......@@ -59,10 +64,9 @@
$ hg st
A a
A b
A con.xml
? hello:world
$ hg --config ui.portablefilenames=ignore add
adding hello:world
$ hg st
A a
A b
......@@ -63,10 +67,9 @@
? hello:world
$ hg --config ui.portablefilenames=ignore add
adding hello:world
$ hg st
A a
A b
A con.xml
A hello:world
#endif
......
......@@ -136,7 +136,7 @@
hg init "ssh"... ok
hg init "static-http"... ok
hg init "with space"... ok
#if no-windows
#if eol-in-paths
/* " " is not a valid name for a directory on Windows */
$ hg init " "
$ test -d " "
......
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