kernel32/tests: Fix two failures on win9x.
This commit is contained in:
parent
70c7cd2bd6
commit
920c1fc77a
|
@ -1353,7 +1353,9 @@ static void test_FindFirstFileA(void)
|
||||||
ok( 0 == lstrcmpiA(data.cFileName, "nul"), "wrong name %s\n", data.cFileName );
|
ok( 0 == lstrcmpiA(data.cFileName, "nul"), "wrong name %s\n", data.cFileName );
|
||||||
ok( 0 == data.nFileSizeHigh, "wrong size %d\n", data.nFileSizeHigh );
|
ok( 0 == data.nFileSizeHigh, "wrong size %d\n", data.nFileSizeHigh );
|
||||||
ok( 0 == data.nFileSizeLow, "wrong size %d\n", data.nFileSizeLow );
|
ok( 0 == data.nFileSizeLow, "wrong size %d\n", data.nFileSizeLow );
|
||||||
ok( FILE_ATTRIBUTE_ARCHIVE == data.dwFileAttributes, "wrong attributes %x\n", data.dwFileAttributes );
|
ok( FILE_ATTRIBUTE_ARCHIVE == data.dwFileAttributes ||
|
||||||
|
FILE_ATTRIBUTE_DEVICE == data.dwFileAttributes /* Win9x */,
|
||||||
|
"wrong attributes %x\n", data.dwFileAttributes );
|
||||||
SetLastError( 0xdeadbeaf );
|
SetLastError( 0xdeadbeaf );
|
||||||
ok( !FindNextFileA( handle, &data ), "FindNextFileA succeeded\n" );
|
ok( !FindNextFileA( handle, &data ), "FindNextFileA succeeded\n" );
|
||||||
ok( GetLastError() == ERROR_NO_MORE_FILES, "bad error %d\n", GetLastError() );
|
ok( GetLastError() == ERROR_NO_MORE_FILES, "bad error %d\n", GetLastError() );
|
||||||
|
@ -1368,7 +1370,9 @@ static void test_FindFirstFileA(void)
|
||||||
ok( 0 == lstrcmpiA(data.cFileName, "lpt1"), "wrong name %s\n", data.cFileName );
|
ok( 0 == lstrcmpiA(data.cFileName, "lpt1"), "wrong name %s\n", data.cFileName );
|
||||||
ok( 0 == data.nFileSizeHigh, "wrong size %d\n", data.nFileSizeHigh );
|
ok( 0 == data.nFileSizeHigh, "wrong size %d\n", data.nFileSizeHigh );
|
||||||
ok( 0 == data.nFileSizeLow, "wrong size %d\n", data.nFileSizeLow );
|
ok( 0 == data.nFileSizeLow, "wrong size %d\n", data.nFileSizeLow );
|
||||||
ok( FILE_ATTRIBUTE_ARCHIVE == data.dwFileAttributes, "wrong attributes %x\n", data.dwFileAttributes );
|
ok( FILE_ATTRIBUTE_ARCHIVE == data.dwFileAttributes ||
|
||||||
|
FILE_ATTRIBUTE_DEVICE == data.dwFileAttributes /* Win9x */,
|
||||||
|
"wrong attributes %x\n", data.dwFileAttributes );
|
||||||
SetLastError( 0xdeadbeaf );
|
SetLastError( 0xdeadbeaf );
|
||||||
ok( !FindNextFileA( handle, &data ), "FindNextFileA succeeded\n" );
|
ok( !FindNextFileA( handle, &data ), "FindNextFileA succeeded\n" );
|
||||||
ok( GetLastError() == ERROR_NO_MORE_FILES, "bad error %d\n", GetLastError() );
|
ok( GetLastError() == ERROR_NO_MORE_FILES, "bad error %d\n", GetLastError() );
|
||||||
|
|
|
@ -4118,6 +4118,7 @@ typedef struct _QUOTA_LIMITS_EX {
|
||||||
#define FILE_ATTRIBUTE_SYSTEM 0x00000004
|
#define FILE_ATTRIBUTE_SYSTEM 0x00000004
|
||||||
#define FILE_ATTRIBUTE_DIRECTORY 0x00000010
|
#define FILE_ATTRIBUTE_DIRECTORY 0x00000010
|
||||||
#define FILE_ATTRIBUTE_ARCHIVE 0x00000020
|
#define FILE_ATTRIBUTE_ARCHIVE 0x00000020
|
||||||
|
#define FILE_ATTRIBUTE_DEVICE 0x00000040
|
||||||
#define FILE_ATTRIBUTE_NORMAL 0x00000080
|
#define FILE_ATTRIBUTE_NORMAL 0x00000080
|
||||||
#define FILE_ATTRIBUTE_TEMPORARY 0x00000100
|
#define FILE_ATTRIBUTE_TEMPORARY 0x00000100
|
||||||
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
|
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
|
||||||
|
|
Loading…
Reference in New Issue