[svn-r14836] Purpose: Remove English-specific code from Windows test scripts

Description:
In previous versions of Windows, the builtin 'FC' command (diff equivalent) didn't return proper exit status.  As a work-around, we parsed the message returned to check status.  This relies on English return messages.

In current Windows XP and Windows Vista, FC will return exit status as expected, so we can remove this workaround.  Older platforms where we would need this workaround are no longer supported.

Tested:
VS2005 on Windows XP
Small test on Windows Vista
This commit is contained in:
Scott Wegner
2008-04-14 10:03:26 -05:00
parent 0d68a748cc
commit 79e97a0e9e
11 changed files with 19 additions and 18 deletions

View File

@@ -141,7 +141,7 @@ rem
call :testing CREATED %h5diff% %params%
copy /y %actual% %expect% > nul
) else (
fc /w %expect% %actual% | find "FC: no diff" > nul
fc /w %expect% %actual% > nul
if !errorlevel! equ 0 (
call :testing PASSED %h5diff% %params%
) else (