From bb88c94c4d866e86f0587d7190cec25cd37ea214 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 21 Feb 2017 12:51:34 +0000 Subject: [PATCH 1/2] test: Create XDG_RUNTIME_DIR with restrictive permissions Otherwise the test for transient services fails on Travis-CI, where umask is 002 (new directories are 775, rwxrwxr-x). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99825 Signed-off-by: Simon McVittie --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.am b/test/Makefile.am index 55ff260a..09c4a7a8 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -513,7 +513,7 @@ EXTRA_DIST += $(static_data) ## copy tests to builddir so that generated tests and static tests ## are all in one place. all-local: copy-config-local uninstalled-config-local - $(AM_V_at)$(MKDIR_P) XDG_RUNTIME_DIR + $(AM_V_at)$(MKDIR_P) -m700 XDG_RUNTIME_DIR copy-config-local: $(AM_V_at)$(MKDIR_P) data/valid-config-files/session.d -- 2.11.0