ntdll/tests: Make sure we can enumerate the directory.
This commit is contained in:
parent
db0df4c067
commit
8b8d2038fb
|
@ -269,8 +269,8 @@ static void open_file_test(void)
|
||||||
attr.Attributes = OBJ_CASE_INSENSITIVE;
|
attr.Attributes = OBJ_CASE_INSENSITIVE;
|
||||||
attr.SecurityDescriptor = NULL;
|
attr.SecurityDescriptor = NULL;
|
||||||
attr.SecurityQualityOfService = NULL;
|
attr.SecurityQualityOfService = NULL;
|
||||||
status = pNtOpenFile( &dir, GENERIC_READ, &attr, &io,
|
status = pNtOpenFile( &dir, SYNCHRONIZE|FILE_LIST_DIRECTORY, &attr, &io,
|
||||||
FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_DIRECTORY_FILE );
|
FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT );
|
||||||
ok( !status, "open %s failed %x\n", wine_dbgstr_w(nameW.Buffer), status );
|
ok( !status, "open %s failed %x\n", wine_dbgstr_w(nameW.Buffer), status );
|
||||||
pRtlFreeUnicodeString( &nameW );
|
pRtlFreeUnicodeString( &nameW );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue