Changeset 77566 in vbox for trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp
- Timestamp:
- Mar 5, 2019 12:53:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp
r77540 r77566 1214 1214 #endif 1215 1215 #if defined(RT_OS_WINDOWS) 1216 RTTESTI_CHECK_RC(RTDirRemove(InDir(RT_STR_TUPLE(".."))), VERR_SHARING_VIOLATION); /* weird */ 1216 int rc = RTDirRemove(InDir(RT_STR_TUPLE(".."))); 1217 if (rc != VERR_DIR_NOT_EMPTY /*ntfs root*/ && rc != VERR_SHARING_VIOLATION /*ntfs weird*/) 1218 RTTestIFailed("RTDirRemove(%s) -> %Rrc, expected VERR_DIR_NOT_EMPTY or VERR_SHARING_VIOLATION", g_szDir, rc); 1217 1219 #else 1218 1220 RTTESTI_CHECK_RC(RTDirRemove(InDir(RT_STR_TUPLE(".."))), VERR_DIR_NOT_EMPTY); … … 2571 2573 2572 2574 /* Now dirty everything by inverting everything. */ 2573 size_t *puCur 2574 size_t c bLeft = sizeof(s_abContent);2575 while (c bLeft-- > 0)2575 size_t *puCur = (size_t *)pbMapping; 2576 size_t cLeft = sizeof(s_abContent) / sizeof(*puCur); 2577 while (cLeft-- > 0) 2576 2578 { 2577 2579 *puCur = ~*puCur;
Note:
See TracChangeset
for help on using the changeset viewer.