diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index dcadb0233..5f22ace07 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -52,6 +52,8 @@ jobs:
echo Restore
/var/tmp/dn/dotnet restore --runtime=freebsd-x64 Duplicati.sln
+ echo Build
+ /var/tmp/dn/dotnet build Duplicati.sln
echo Publish
/var/tmp/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish Duplicati.sln
@@ -108,10 +110,9 @@ jobs:
echo Restore
/var/tmp/dn/dotnet restore --runtime=freebsd-x64 Duplicati.sln
echo Testing
- mkdir ${BUILD_DIR}/duplicati_testdata
- mkdir /var/tmp/duplicati_testdata
- touch ${BUILD_DIR}/duplicati_testdata/logfile.log
- ln -s ${BUILD_DIR}/duplicati_testdata/logfile.log /var/tmp/duplicati_testdata/logfile.log
+ mkdir -p ${BUILD_DIR}/duplicati_testdata/logs
+ mkdir -p /var/tmp/duplicati_testdata
+ ln -s ${BUILD_DIR}/duplicati_testdata/logs /var/tmp/duplicati_testdata/logs
export UNITTEST_BASEFOLDER=/var/tmp/duplicati_testdata
/var/tmp/dn/dotnet test --runtime=freebsd-x64 --verbosity minimal Duplicati.sln
- name: Archive Test Logs
@@ -119,4 +120,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: test-logs
- path: duplicati_testdata/logfile.log
\ No newline at end of file
+ path: duplicati_testdata/logs/logfile.log
\ No newline at end of file
diff --git a/Duplicati/UnitTest/BasicSetupHelper.cs b/Duplicati/UnitTest/BasicSetupHelper.cs
index a65181542..4feeae112 100644
--- a/Duplicati/UnitTest/BasicSetupHelper.cs
+++ b/Duplicati/UnitTest/BasicSetupHelper.cs
@@ -52,7 +52,7 @@ namespace Duplicati.UnitTest
///
/// The log file for manual examination
///
- protected readonly string LOGFILE = Path.Combine(BASEFOLDER, "logfile.log");
+ protected readonly string LOGFILE = Path.Combine(BASEFOLDER, "logs/logfile.log");
///
/// The database is fixed so it does not mess up the system where the test is performed
///