[Bug 31889] New: Cmd testrunner fails in case of mismatches on synchronization lines

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 5 03:46:57 CDT 2012


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 at winehq.org
        ReportedBy: frederic.delanoy at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list