Re: [PATCH] Tweak t3102-ls-tree-wildcards to run on Windows
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- May 12, 2011, 12:19 UTC
- Message-ID
- <BANLkTino-zmbRqNat-TO8YcQHCrMr4A06A@mail.gmail.com>
- In-Reply-To
- <4DCB9C42.5070806@viscovery.net>
2011/5/12 Johannes Sixt <j.sixt@viscovery.net>:
Show 9 quoted lines
> From: Johannes Sixt <j6t@kdbg.org> > > The test case fails on Windows, because "a*" is an invalid file name. > Therefore, use "a[a]" instead. > > Signed-off-by: Johannes Sixt <j6t@kdbg.org> > --- > Regarding the change from * to [], I do not know whether the result > still tests the same thing. Please advise!
The result is correct. Whatever pattern you throw at ls-tree should be interpreted literally, no magic at all.
Acked-by: me.
-- Duy