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

2012-11-11 Thread Nguyễn Thái Ngọc Duy
Patterns beginning with a slash are converted to Windows paths before test-wildmatch gets to see them. Avoid this case by always writing XXX/abc instead of /abc. The leading XXX will be removed by test-wildmatch itself before processing. Any patterns beginning with a forward slash is rejected by

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

2012-11-11 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy pclo...@gmail.com writes: Patterns beginning with a slash are converted to Windows paths before test-wildmatch gets to see them. Avoid this case by always writing XXX/abc instead of /abc. The leading XXX will be removed by test-wildmatch itself before processing. Any