mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 04:52:10 -05:00
tst: winfsp-tests: disable FILE_FLAG_NO_BUFFERING mmap test against localhost share (Win8 bug)
This commit is contained in:
parent
dbb8b5d3b9
commit
a255fa11e7
@ -145,7 +145,7 @@ exit /b 0
|
|||||||
:winfsp-tests-x64-external-share
|
:winfsp-tests-x64-external-share
|
||||||
M:
|
M:
|
||||||
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x64.exe" --external --share=winfsp-tests-share=M:\ --resilient ^
|
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x64.exe" --external --share=winfsp-tests-share=M:\ --resilient ^
|
||||||
-rdwr_mmap* -reparse_symlink*
|
-reparse_symlink*
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
@ -168,7 +168,7 @@ exit /b 0
|
|||||||
:winfsp-tests-x86-external-share
|
:winfsp-tests-x86-external-share
|
||||||
O:
|
O:
|
||||||
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x86.exe" --external --share=winfsp-tests-share=O:\ --resilient ^
|
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x86.exe" --external --share=winfsp-tests-share=O:\ --resilient ^
|
||||||
-rdwr_mmap* -reparse_symlink*
|
-reparse_symlink*
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
|
@ -1009,9 +1009,19 @@ void rdwr_mmap_test(void)
|
|||||||
WCHAR DirBuf[MAX_PATH], DriveBuf[3];
|
WCHAR DirBuf[MAX_PATH], DriveBuf[3];
|
||||||
GetTestDirectoryAndDrive(DirBuf, DriveBuf);
|
GetTestDirectoryAndDrive(DirBuf, DriveBuf);
|
||||||
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, 0, FALSE);
|
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, 0, 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_NO_BUFFERING, FALSE);
|
||||||
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_WRITE_THROUGH, 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, 0, 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_NO_BUFFERING, TRUE);
|
||||||
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_WRITE_THROUGH, TRUE);
|
rdwr_mmap_dotest(-1, DriveBuf, DirBuf, 0, FILE_FLAG_WRITE_THROUGH, TRUE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user