Re: [PATCH 14/13] wildmatch: fix tests that fail on Windows due to path mangling

2012-11-07 Thread Johannes Sixt
Am 06.11.2012 13:47, schrieb Nguyen Thai Ngoc Duy: > On Mon, Nov 5, 2012 at 4:00 AM, Johannes Sixt wrote: >> Patterns beginning with a slash are converted to Windows paths before >> test-wildmatch gets to see them. Use a different first character. > > Or we could prepend the paths with something,

Re: [PATCH 14/13] wildmatch: fix tests that fail on Windows due to path mangling

2012-11-06 Thread Nguyen Thai Ngoc Duy
On Mon, Nov 5, 2012 at 4:00 AM, Johannes Sixt wrote: > Patterns beginning with a slash are converted to Windows paths before > test-wildmatch gets to see them. Use a different first character. Or we could prepend the paths with something, which is then cut out by test-wildmatch. Not sure if it's

[PATCH 14/13] wildmatch: fix tests that fail on Windows due to path mangling

2012-11-04 Thread Johannes Sixt
Patterns beginning with a slash are converted to Windows paths before test-wildmatch gets to see them. Use a different first character. This does change the meaning of the test because the slash is special. But: - The first pair of changed lines the test is about '*' matching an empty string, wh