test: use unambigous leading path (/foo) for MSYS
commitdaf19a80fa6b7402f8a2efa8f8255b4b5d6b48a9
authorJiang Xin <worldhello.net@gmail.com>
Mon, 14 Oct 2013 02:29:38 +0000 (14 10:29 +0800)
committerJonathan Nieder <jrnieder@gmail.com>
Mon, 14 Oct 2013 14:00:01 +0000 (14 07:00 -0700)
tree24fab9cd97c17fe997b0ce3e551b2b671b5c6f18
parentf85f7947c38359c05b9df28fafe769fde9341326
test: use unambigous leading path (/foo) for MSYS

In test cases for relative_path, path with one leading character
(such as /a, /x) may be recogonized as "a:/" or "x:/" if there is
such DOS drive on MSYS platform. Use an umambigous leading path
"/foo" instead.

Also change two leading slashes (//) to three leading slashes (///),
otherwize it will be recognized as UNC name on MSYS platform.

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Acked-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
t/t0060-path-utils.sh