From ea73d96e028dedaebe8a15d8d018236331f21047 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 7 Jun 2018 19:04:05 +0100 Subject: [PATCH] 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 Closes: #1760 Approved by: alexlarsson --- tests/testlibrary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testlibrary.c b/tests/testlibrary.c index c1df93c8..2167a0ce 100644 --- a/tests/testlibrary.c +++ b/tests/testlibrary.c @@ -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);