[Pkg-libvirt-commits] [ruby-libvirt] 01/03: Set safer env vars

Guido Guenther agx at moszumanska.debian.org
Sat May 10 12:32:15 UTC 2014


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

agx pushed a commit to annotated tag debian/0.5.1-3
in repository ruby-libvirt.

commit a629df279795cd703b1815f3363541256ddbab6a
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat May 10 10:48:41 2014 +0200

    Set safer env vars
    
    We can't expect to have a $HOME and we don' want to default to anything
    than the test driver.
    
    Closes: #734975, #738383
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index eb62130..22f52c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,4 +5,7 @@
 	dh $@ --buildsystem=ruby --with ruby
 
 override_dh_auto_test:
+	XDG_RUNTIME_DIR=$(CURDIR) \
+	XDG_CONFIG_HOME=$(CURDIR) \
+	LIBVIRT_DEFAULT_URI=test:///default \
 	RUBY_LIBVIRT_TEST_URI=test:///default rake test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/ruby-libvirt.git



More information about the Pkg-libvirt-commits mailing list