Commit 2b4069e0 authored by Mart Raudsepp's avatar Mart Raudsepp Committed by Sam Thursfield

libtracker-common: improve test_path_evaluate_name environment handling

Under some environments $PWD might not point where we expect, so simply
use g_get_current_dir() instead.
g_getenv() is documented to return a pointer that may get overwritten
by subsequent calls to g_getenv, g_setenv of g_unsetenv. As even after
removing the second g_getenv, there's still g_setenv calls, take a copy.

See: tracker!59
parent 1a78cffd
Pipeline #60017 passed with stage
in 1 minute and 9 seconds