diff --git a/Duplicati/UnitTest/BasicSetupHelper.cs b/Duplicati/UnitTest/BasicSetupHelper.cs
index 12503c508..b379cb014 100644
--- a/Duplicati/UnitTest/BasicSetupHelper.cs
+++ b/Duplicati/UnitTest/BasicSetupHelper.cs
@@ -30,10 +30,11 @@ namespace Duplicati.UnitTest
///
/// The base folder where all data is trashed around
///
- 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")
+ );
///
/// The folder path that serves as the backup destination