Index: source/lib/sysdep/tests/test_sysdep.h =================================================================== --- source/lib/sysdep/tests/test_sysdep.h (revision 7795) +++ source/lib/sysdep/tests/test_sysdep.h (revision 7796) @@ -120,7 +120,11 @@ char root[PATH_MAX]; sprintf_s(root, ARRAY_SIZE(root), "%s/pyrogenesis-test-sysdep-XXXXXX", tmpdir); TS_ASSERT(mkdtemp(root)); - std::string rootstr(root); + + char rootres[PATH_MAX]; + TS_ASSERT(realpath(root, rootres)); + + std::string rootstr(rootres); std::wstring rootstrw(wstring_from_utf8(rootstr)); const char* dirs[] = {