Add MapThenDelete to OpenFileTest.
This verifies that a mapped file cannot be deleted, but can still be moved as long as it was opened with appropriate sharing settings. It happens to be the case that the Windows loader uses compatible sharing settings, so a mapped file can ordinarily be moved from one name to another on the same volume. This change also disables the whole test suite, as it is an educational experience and doesn't need to be run on the bots all the time. BUG: None Change-Id: I47b4c76e97ab159c484aa1ca3ee6d4e7e6bfa4b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768764Reviewed-by:François Doray <fdoray@chromium.org> Commit-Queue: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#719118}
Showing
Please register or sign in to comment