summaryrefslogtreecommitdiffstats
path: root/windows/tools/h5jam
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-04-14 15:03:26 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-04-14 15:03:26 (GMT)
commit79e97a0e9e51cff09a6ad30b8880220ac71ad357 (patch)
tree75cb0bf87c48da5fd02faaa56e4ea699f0dbde16 /windows/tools/h5jam
parent0d68a748cc90ef119a1ba26ee39b8cbe18d3e159 (diff)
downloadhdf5-79e97a0e9e51cff09a6ad30b8880220ac71ad357.zip
hdf5-79e97a0e9e51cff09a6ad30b8880220ac71ad357.tar.gz
hdf5-79e97a0e9e51cff09a6ad30b8880220ac71ad357.tar.bz2
[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
Diffstat (limited to 'windows/tools/h5jam')
-rw-r--r--windows/tools/h5jam/testh5jam.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/tools/h5jam/testh5jam.bat b/windows/tools/h5jam/testh5jam.bat
index d3522f1..9a9c5d4 100644
--- a/windows/tools/h5jam/testh5jam.bat
+++ b/windows/tools/h5jam/testh5jam.bat
@@ -249,7 +249,7 @@ rem
rem Compare to 'cmpfile', result is set in result1
set tfile=tt1
%getub_bin% -c %size% %hfile% > %tfile%
- fc /w %cmpfile% %tfile% | find "FC: no diff" > nul
+ fc /w %cmpfile% %tfile% > nul
if %errorlevel% neq 0 (
fc /w %cmpfile% %file%
set result1=1
@@ -595,4 +595,4 @@ rem ############################################################################
popd
endlocal & exit /b %nerrors%
- \ No newline at end of file
+