To: Eli Zaretskii Cc: Richard Dawe , DJGPP workers Subject: Re: Fetish.pm band-aid (Fileutils testsuite) References: In-Reply-To: From: Jim Meyering Date: 06 Mar 2001 03:43:31 +0100 Message-ID: Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.99 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Jim Meyering Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: | On 4 Mar 2001, Jim Meyering wrote: | | > FYI, the quotes from _shell_quote are necessary for the file | > names used in some of the tests because those names contain | > meta-characters. | | As you probably know, Jim, most meta-characters will not work on | DOS/Windows because they are invalid in file names, even if quoted. | I'm talking about characters from the set "*?:<>| (including the | double quote). Newlines are also not allowed, and forward and | back-slashes are only allowed as directory separators, not as literal | characters. Plain DOS disallows a few more characters, such as + and | [. Thanks for explaining. I think the only case is in tests/ls-2. I used \a in a file name to test how ls displays the file name with various options. | If the tests you are talking about involve any of these, they are | bound to fail with the DJGPP port, and we should devise a way to | bypass those tests on DOS/Windows. One possible way of bypassing them | cleanly is to try to create a file with the offending character with | some simple shell command, such `echo', and if that fails, you know | not to run the test.