Mail Archives: djgpp-workers/2001/03/05/21:45:58
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> 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.
- Raw text -