purge test should now expect 1 and not 4 filesets
For this test the last 3 of the 4 filesets are now partials that follow a full backup. So the count is 1 now instead of 4.
This commit is contained in:
@@ -156,7 +156,7 @@ namespace Duplicati.UnitTest
|
||||
Console.WriteLine("Files:");
|
||||
Console.WriteLine(" " + string.Join(Environment.NewLine + " ", files.Select(x => string.Format("{0}: {1}", x.Path, string.Join(" - ", x.Sizes.Select(y => y.ToString()))))));
|
||||
|
||||
Assert.AreEqual(4, filesets.Length, "Incorrect number of filesets after final backup");
|
||||
Assert.AreEqual(1, filesets.Length, "Incorrect number of filesets after final backup");
|
||||
Assert.AreEqual(filenames.Count + 1, filecount, "Incorrect number of files after final backup");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user