Re: [PATCH v2 1/3] test: use unambigous leading path (/foo) for mingw
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Sep 14, 2013, 06:52 UTC
- Message-ID
- <523407AF.9080205@web.de>
- In-Reply-To
- <xmqqtxhoijpz.fsf@gitster.dls.corp.google.com>
On 2013-09-13 21.51, Junio C Hamano wrote:
Show 12 quoted lines
> Jiang Xin <worldhello.net@gmail.com> 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