http://bugs.winehq.org/show_bug.cgi?id=31889
Bug #: 31889 Summary: Cmd testrunner fails in case of mismatches on synchronization lines Product: Wine Version: 1.5.14 Platform: x86-64 OS/Version: Linux Status: NEW Keywords: regression, source, testcase Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: frederic.delanoy@gmail.com Classification: Unclassified Regression SHA1: 81f64ee906888875de10a4c804bed88c103a282c
Cmd testrunner fails/kind of loops when there's an mismatch between actual and expected outputs on --- synchronization lines ---
Smallest example showing the issue: replace test_builtins.cmd and test_builtins.cmd.exp respectively by
@echo off echo --- foo ---
and
--- fo ---
Console output:
../../../tools/runtest -q -P wine -M cmd.exe -T ../../.. -p cmd.exe_test.exe.so batch.c && touch batch.ok batch.c:312: Test failed: unexpected char 0x6f position 6 in line 1 (got '--- foo ---', wanted '--- fo ---') batch.c:312: Test failed: unexpected char 0x6f position 6 in line 2 (got '--- foo ---', wanted '--- fo ---') batch.c:312: Test failed: unexpected char 0x6f position 6 in line 3 (got '--- foo ---', wanted '--- fo ---') etc.