Frédéric Delanoy frederic.delanoy@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
2011/7/28 Alexandre Julliard julliard@winehq.org:
Frédéric Delanoy frederic.delanoy@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.
Frédéric