ntdll/tests: Make sure we can enumerate the directory.

This commit is contained in:
Paul Vriens 2010-04-12 14:44:30 +02:00 committed by Alexandre Julliard
parent db0df4c067
commit 8b8d2038fb
1 changed files with 2 additions and 2 deletions

View File

@ -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 );