From 06bca4b5d8f53befb97f1b26be5b5fbb66955734 Mon Sep 17 00:00:00 2001 From: Thomas Suckow Date: Sun, 10 Apr 2022 20:52:01 -0700 Subject: [PATCH] Try making test path absolute --- Duplicati/UnitTest/BasicSetupHelper.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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