diff --git a/tests/unit/raw_memory.cc b/tests/unit/raw_memory.cc index 659c89469..0229262a8 100644 --- a/tests/unit/raw_memory.cc +++ b/tests/unit/raw_memory.cc @@ -15,6 +15,7 @@ #include #include +#include "eckit/filesystem/PathExpander.h" #include "eckit/filesystem/PathName.h" #include "eckit/system/Library.h" #include "eckit/testing/Test.h" @@ -311,7 +312,7 @@ CASE("Example 3") { SECTION("grid=unstructured regridded") { const double missingValue = 42.; - const eckit::PathName matrix = "raw_memory_example_3.mat"; + const eckit::PathName matrix = eckit::PathExpander::expand("{CWD}/raw_memory_example_3.mat"); // input metadata & data