[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [5/7] cmd/tests: Add FOR /D tests
From:       Frédéric Delanoy <frederic.delanoy () gmail ! com>
Date:       2011-07-29 8:32:52
Message-ID: CAE4k4euG0+L8N_3GwWk8mUSX46XuaEi5Y-pYtafs51cPsZS=+w () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic