tst: winfsp-tests: disable FILE_FLAG_NO_BUFFERING mmap test against localhost share (Win8 bug)

This commit is contained in:
Bill Zissimopoulos
2016-11-01 14:56:01 -07:00
parent dbb8b5d3b9
commit a255fa11e7
2 changed files with 14 additions and 4 deletions

View File

@ -1009,10 +1009,20 @@ void rdwr_mmap_test(void)
WCHAR DirBuf[MAX_PATH], DriveBuf[3];
GetTestDirectoryAndDrive(DirBuf, DriveBuf);
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, 0, FALSE);
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_NO_BUFFERING, FALSE);
if (!OptShareTarget)
/*
* This test fails under Win8 (version 6.2 Build 9200)
* See: http://www.osronline.com/showthread.cfm?link=279909
*/
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_NO_BUFFERING, FALSE);
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_WRITE_THROUGH, FALSE);
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, 0, TRUE);
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_NO_BUFFERING, TRUE);
if (!OptShareTarget)
/*
* This test fails under Win8 (version 6.2 Build 9200)
* See: http://www.osronline.com/showthread.cfm?link=279909
*/
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_NO_BUFFERING, TRUE);
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_WRITE_THROUGH, TRUE);
}
if (WinFspDiskTests)