Try making test path absolute

This commit is contained in:
Thomas Suckow
2022-04-10 20:52:01 -07:00
parent 71faeb9a0e
commit 06bca4b5d8
+3 -2
View File
@@ -30,10 +30,11 @@ namespace Duplicati.UnitTest
/// <summary>
/// The base folder where all data is trashed around
/// </summary>
protected static readonly string BASEFOLDER =
protected static readonly string BASEFOLDER = Path.GetFullPath(
string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("UNITTEST_BASEFOLDER"))
? "duplicati_testdata"
: Environment.GetEnvironmentVariable("UNITTEST_BASEFOLDER");
: Environment.GetEnvironmentVariable("UNITTEST_BASEFOLDER")
);
/// <summary>
/// The folder path that serves as the backup destination