[Pkg-privacy-commits] [onioncircuits] 21/21: make sure that XDG_RUNTIME_DIR exists in tests

Sascha Steinbiss satta at debian.org
Wed Oct 4 15:53:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

satta pushed a commit to branch master
in repository onioncircuits.

commit e63bb700b3b88ab1788e2732182563059c583b02
Author: Sascha Steinbiss <satta at debian.org>
Date:   Wed Oct 4 17:53:19 2017 +0200

    make sure that XDG_RUNTIME_DIR exists in tests
---
 debian/changelog          | 1 +
 debian/tests/gui-tor-test | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 72202b9..afb9579 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ onioncircuits (0.5-1) UNRELEASED; urgency=medium
   * Use AppArmor profile file from upstream.
   * Remove obsolete Testsuite: entry in d/control.
   * Bump Standards-Version.
+  * Ensure presence of XDG_RUNTIME_DIR in autopkgtest.
 
  -- Sascha Steinbiss <satta at debian.org>  Wed, 04 Oct 2017 17:24:13 +0200
 
diff --git a/debian/tests/gui-tor-test b/debian/tests/gui-tor-test
index a354c78..ae69a07 100755
--- a/debian/tests/gui-tor-test
+++ b/debian/tests/gui-tor-test
@@ -13,6 +13,7 @@ export XDG_CONFIG_HOME=$WORKDIR/.config
 export XDG_DATA_HOME=$WORKDIR/.local/share
 export XDG_CACHE_HOME=$WORKDIR/.cache
 export XDG_RUNTIME_DIR=$WORKDIR/runtime
+mkdir -p $XDG_RUNTIME_DIR
 
 # start Xvfb
 # note that the screen size must be that large to avoid UI elements

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncircuits.git



More information about the Pkg-privacy-commits mailing list