Work around failing file watcher test under XP.
Under only Windows XP the test FileSystemWatcherTestCase::TestTrees fails during the RmDir(treedir) call (SHFileOperation strangely returns ERROR_DIR_NOT_EMPTY). To make the test pass remove the treedir first and only then the singledir. This is merely a workaround while the actual problem is still to be investigated.
This commit is contained in:
@@ -922,8 +922,8 @@ void FileSystemWatcherTestCase::TestTrees()
|
|||||||
RemoveAllWatches();
|
RemoveAllWatches();
|
||||||
|
|
||||||
// Clean up
|
// Clean up
|
||||||
RmDir(singledir);
|
|
||||||
RmDir(treedir);
|
RmDir(treedir);
|
||||||
|
RmDir(singledir);
|
||||||
|
|
||||||
Exit();
|
Exit();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user