kernel32/tests: Fix some resource test failures on NT4.

This commit is contained in:
Alexandre Julliard 2008-11-10 11:09:11 +01:00
parent 181e4f08b6
commit 220a2c2c0b
1 changed files with 2 additions and 1 deletions

View File

@ -252,7 +252,8 @@ static void check_exe( res_check_func fn )
dir = (void*) ((BYTE*) dos + sec[1].VirtualAddress);
ok( dir->Characteristics == 0, "Characteristics wrong\n");
ok( dir->TimeDateStamp == 0, "TimeDateStamp wrong\n");
ok( dir->TimeDateStamp == 0 || abs( dir->TimeDateStamp - GetTickCount() ) < 1000 /* nt4 */,
"TimeDateStamp wrong %u\n", dir->TimeDateStamp);
ok( dir->MajorVersion == 4, "MajorVersion wrong\n");
ok( dir->MinorVersion == 0, "MinorVersion wrong\n");