Subject: Re: [PATCH v2 1/3] test: use unambigous leading path (/foo) for mingw

From: Torsten Bögershausen <[email-masked]>
Date: Sat, 14 Sep 2013 08:52:31 +0200

On 2013-09-13 21.51, Junio C Hamano wrote:
> Jiang Xin <[email-masked]> writes:
> 
>> 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 doc drive on MINGW platform. Use an umambigous leading path
>> "/foo" instead.
> 
> "DOS drive", you mean?
> 
> Are they really spelled as /a or /x (not e.g. //a or something)?
> 
> Just double-checking.
Yes,
there is a directoctory structure in / like this:

/usr
/bin
/lib
Then we have the drive letters mapped to single letters:
/c/Documents and Settings
/c/temp

As an alternative
c:/temp can be used
or the DOS style
"c:\temp"

And the // or "\\" is used for the UNC names (Universal Name Convention)
//Servername/ShareName/Directory

/Torsten