Cleanup after test

This commit is contained in:
Roman Shevchenko
2012-04-13 16:02:21 +02:00
parent 550e6eecc7
commit ab99f1ee28
@@ -368,9 +368,10 @@ public class FileWatcherTest extends PlatformLangTestCase {
}
}
finally {
VirtualDirectoryImpl.disallowRootAccess(substRoot);
delete(targetDir);
new GeneralCommandLine("subst", subst + ":", "/d").createProcess().waitFor();
myFileSystem.refresh(false);
VirtualDirectoryImpl.disallowRootAccess(substRoot);
}
}