Don't delete logs after test
This commit is contained in:
@@ -104,6 +104,10 @@ namespace Duplicati.UnitTest
|
||||
systemIO.DirectoryCreate(this.DATAFOLDER);
|
||||
systemIO.DirectoryCreate(this.TARGETFOLDER);
|
||||
systemIO.DirectoryCreate(this.RESTOREFOLDER);
|
||||
if (systemIO.FileExists(this.LOGFILE))
|
||||
{
|
||||
systemIO.FileDelete(this.LOGFILE);
|
||||
}
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
@@ -121,10 +125,6 @@ namespace Duplicati.UnitTest
|
||||
{
|
||||
systemIO.DirectoryDelete(this.RESTOREFOLDER, true);
|
||||
}
|
||||
if (systemIO.FileExists(this.LOGFILE))
|
||||
{
|
||||
systemIO.FileDelete(this.LOGFILE);
|
||||
}
|
||||
if (systemIO.FileExists(this.DBFILE))
|
||||
{
|
||||
systemIO.FileDelete(this.DBFILE);
|
||||
|
||||
Reference in New Issue
Block a user