Mail Archives: djgpp-workers/2001/03/05/02:37:51
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
[.
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.
- Raw text -