Windows 2000 winetest results from source release 20030508

Josh Metzler joshdeb at metzlers.org
Fri Jun 13 09:44:54 CDT 2003


I retrieved the wine source release of 20030508.  I ran 
./tools/winapi/msvcmaker --no-wine.  Note: I did this in Cygwin, and I 
had to make some changes to the perl script to get it to run.

I also created a wine subdirectory under each of the test subdirs, and 
copied test.h into it.  The MSVC versions couldn't find this file 
otherwise.  Also, I was unable to compile shlwapi_test even after 
copying unicode.h into the shlwapi/test/wine subdir I had created.

I tried to run all the tests that said they needed retested, or that had
any errors according to http://fgouget.free.fr/wine/tests-en.shtml.

I ran these tests from within MSVC++ 6.0 on a Windows 2000 SP3 machine, 
and tried to find out what an API returned when it was different from 
what the test expected.  If someone could suggest how the tests should 
deal with different return values on different Windows versions, and 
also tell me the best way to create patches, I would be willing to try 
to help fix some of these tests.

Josh Metzler

--

kernel32_test

locale

locale.c:154: Test failed: GetTimeFormat got '' instead of '4'
locale.c:155: Test failed: GetTimeFormat: got 1 instead of 2
locale.c:181: Test failed: GetTimeFormat got '8.@:56AM' instead of
'8.@:56.@:AM'
locale.c:182: Test failed: GetTimeFormat: got 9 instead of 12
locale.c:190: Test failed: GetTimeFormat got '' instead of '3'
locale.c:191: Test failed: GetTimeFormat: got 1 instead of 2
locale.c:466: Test failed: GetDateFormat got '5/4/2002' instead of '5/4/02'
locale.c:467: Test failed: GetDateFormat: got 9 instead of 7
locale.c:489: Test failed: GetDateFormat check DATE_YEARMONTH with null
format expected ERROR_INVALID_FLAGS got return of '10' and error of '0'
locale: 112 tests executed, 0 marked as todo, 9 failures.

Notes: 489: GetDateFormat returned 10, buffer contained "May, 2002"  In
other words, the function succeeded.

path

path.c:514: Test failed: GetLongPathNameA: wrong return code, 97 instead
of 42
path.c:881:TMP=C:\DOCUME~1\josh\LOCALS~1\Temp
path.c:892:TMP=C:\WINNT
path.c:902:TMP=C:\
path.c:912:TMP=C:
path: 1730 tests executed, 0 marked as todo, 1 failure.

Notes: 514: Counting the characters, the size of the long path name was
96.  The function did exactly what the MSDN library said it will do -
return the lenght of the buffer necessary to hold the long path name.

process

tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
process.c:870: Test failed: StartupInfoA:lpDesktop expected (null), got
WinSta0\Default
process.c:871: Test failed: StartupInfoA:lpTitle expected (null), got
C:\cygwin\home\josh\wine\dlls\kernel\tests\Output\Win32_MSVC_Headers\kernel32_test.exe
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
process.c:918: Test failed: StartupInfoA:lpDesktop expected (null), got
WinSta0\Default
process.c:919: Test failed: StartupInfoA:lpTitle expected (null), got
C:\cygwin\home\josh\wine\dlls\kernel\tests\Output\Win32_MSVC_Headers\kernel32_test.exe
process: 309 tests executed, 0 marked as todo, 4 failures.

Notes: looks like Windows 2000 fills in the window station and title if
they are null.  I wonder who owns that memory?

thread

thread: 113 tests executed, 0 marked as todo, 0 failures.

/************************************************************************/

netapi32_test

access

access.c:110: Test failed: Bad Network Path: rc=0
access: 23 tests executed, 0 marked as todo, 1 failure.

Notes: NetUserGetInfo succeeds when passed an empty string, getting user
info for the local computer.  Test expected ERROR_BAD_PATH as the return
value.


/************************************************************************/

oleaut32_test

vartest

vartest.c:1761:======== Testing VarUI1FromXXX ========
vartest.c:1849:======== Testing VarUI2FromXXX ========
vartest.c:1936:======== Testing VarUI4FromXXX ========
vartest.c:2022:======== Testing VarI1FromXXX ========
vartest.c:2088:======== Testing VarI2FromXXX ========
vartest.c:2133:======== Testing VarI4FromXXX ========
vartest.c:2177:======== Testing VarR4FromXXX ========
vartest.c:2224:======== Testing VarR8FromXXX ========
vartest.c:2244:======== Testing VarDateFromXXX ========
vartest.c:2315:======== Testing VarBoolFromXXX ========
vartest.c:2371:======== Testing VarBSTRFromXXX ========
vartest.c:2604:======== Testing Hi-Level Variant API ========
vartest.c:2691:======== Testing different VARTYPES ========
vartest: 1875 tests executed, 0 marked as todo, 0 failures.


/************************************************************************/

shell32_test

shlfileop

shlfileop: 121 tests executed, 0 marked as todo, 0 failures.


/************************************************************************/

urlmon_test

generated

generated: 4 tests executed, 0 marked as todo, 0 failures.


/************************************************************************/

user32_test

sysparams

sysparams.c:1112:strict=0
sysparams.c:214:testing SPI_{GET,SET}BEEP
sysparams.c:350:testing SPI_{GET,SET}MOUSE
sysparams.c:455:testing SPI_{GET,SET}KEYBOARDSPEED
sysparams.c:487:testing SPI_ICONHORIZONTALSPACING
sysparams.c:530:testing SPI_{GET,SET}SCREENSAVETIMEOUT
sysparams.c:564:testing SPI_{GET,SET}SCREENSAVEACTIVE
sysparams.c:601:testing SPI_{GET,SET}KEYBOARDDELAY
sysparams.c:634:testing SPI_ICONVERTICALSPACING
sysparams.c:685:testing SPI_{GET,SET}ICONTITLEWRAP
sysparams.c:718:testing SPI_{GET,SET}MENUDROPALIGNMENT
sysparams.c:754:testing SPI_{GET,SET}DOUBLECLKWIDTH
sysparams.c:785:testing SPI_{GET,SET}DOUBLECLKHEIGHT
sysparams.c:817:testing SPI_{GET,SET}DOUBLECLICKTIME
sysparams.c:869:testing SPI_{GET,SET}MOUSEBUTTONSWAP
sysparams.c:895:testing SPI_GETFASTTASKSWITCH
sysparams.c:910:testing SPI_{GET,SET}DRAGFULLWINDOWS
sysparams.c:948:testing SPI_{GET,SET}WORKAREA
sysparams.c:992:testing SPI_{GET,SET}SHOWSOUNDS
sysparams.c:1042:testing SPI_{GET,SET}DESKWALLPAPER
sysparams: 412 tests executed, 0 marked as todo, 0 failures.


/************************************************************************/

winspool_test

info

info: 10 tests executed, 0 marked as todo, 0 failures.







More information about the wine-devel mailing list