testlibrary: Correct a wrong string in a debug message

This always printed "setting HOME=(null)" because we didn't set
datadir yet, but it should have been looking at homedir anyway.

Signed-off-by: Simon McVittie <smcv@collabora.com>

Closes: #1760
Approved by: alexlarsson
This commit is contained in:
Simon McVittie
2018-06-07 19:04:05 +01:00
committed by Atomic Bot
parent 2471f0552c
commit ea73d96e02

View File

@@ -1152,7 +1152,7 @@ global_setup (void)
g_mkdir_with_parents (homedir, S_IRWXU|S_IRWXG|S_IRWXO);
g_setenv ("HOME", homedir, TRUE);
g_test_message ("setting HOME=%s", datadir);
g_test_message ("setting HOME=%s", homedir);
cachedir = g_strconcat (testdir, "/home/cache", NULL);
g_mkdir_with_parents (cachedir, S_IRWXU|S_IRWXG|S_IRWXO);