[5/7] cmd/tests: Add FOR /D tests
frederic.delanoy at gmail.com
Fri Jul 29 03:32:52 CDT 2011
2011/7/28 Alexandre Julliard <julliard at winehq.org>:
> Frédéric Delanoy <frederic.delanoy at gmail.com> writes:
>> programs/cmd/tests/test_builtins.cmd | 6 ++++++
>> programs/cmd/tests/test_builtins.cmd.exp | 11 +++++++++++
>> 2 files changed, 17 insertions(+), 0 deletions(-)
> It fails here:
> ../../../tools/runtest -q -P wine -M cmd.exe -T ../../.. -p cmd.exe_test.exe.so batch.c && touch batch.ok
> batch.c:239: Test succeeded inside todo block: unexpected char 0x0 position -1 in line 225 (got 'baz', wanted 'baz')
> make: *** [batch.ok] Error 1
After some investigation, it seems windows expands file wildcards
according to directory order, and not alphanumeric order.
To get a consistent output order, we would need to pipe the "for"
output into sort, but "sort" is not currently implemented.
More information about the wine-devel