diff options
Diffstat (limited to 'tests/test.vala')
-rw-r--r-- | tests/test.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test.vala b/tests/test.vala index ad495b7..50a6530 100644 --- a/tests/test.vala +++ b/tests/test.vala @@ -755,6 +755,8 @@ public class Test DirUtils.create_with_parents(schema_dir, 0700); var data_dirs = Environment.get_variable("XDG_DATA_DIRS"); + if (data_dirs == null) + data_dirs = "/usr/share"; Environment.set_variable("XDG_DATA_DIRS", "%s:%s".printf(Path.build_filename(dir, "share"), data_dirs), true); var top_srcdir = Environment.get_variable("top_srcdir"); |