[Pkg-libvirt-commits] [libguestfs] 28/66: builder: set an empty XDG_CONFIG_HOME in tests

Hilko Bengen bengen at moszumanska.debian.org
Fri May 9 12:56:22 UTC 2014


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

bengen pushed a commit to branch master
in repository libguestfs.

commit 57dd6d992c1443a52bc82f61e2f102d7f205cd6c
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Fri Apr 11 16:15:13 2014 +0200

    builder: set an empty XDG_CONFIG_HOME in tests
    
    This way they are affected less by the environment.
    
    (cherry picked from commit c78b932199096d061364db2fb1d6a679922664c9)
---
 builder/test-virt-builder-list.sh    | 1 +
 builder/test-virt-builder-planner.sh | 1 +
 builder/test-virt-builder.sh         | 1 +
 3 files changed, 3 insertions(+)

diff --git a/builder/test-virt-builder-list.sh b/builder/test-virt-builder-list.sh
index 1f62838..76d7913 100755
--- a/builder/test-virt-builder-list.sh
+++ b/builder/test-virt-builder-list.sh
@@ -23,6 +23,7 @@ set -e
 
 abs_builddir=$(pwd)
 
+export XDG_CONFIG_HOME=
 export XDG_CONFIG_DIRS="$abs_builddir/test-config"
 
 short_list=$($VG ./virt-builder --no-check-signature --no-cache --list)
diff --git a/builder/test-virt-builder-planner.sh b/builder/test-virt-builder-planner.sh
index 386de5c..6b839bb 100755
--- a/builder/test-virt-builder-planner.sh
+++ b/builder/test-virt-builder-planner.sh
@@ -21,6 +21,7 @@ set -e
 
 abs_builddir=$(pwd)
 
+export XDG_CONFIG_HOME=
 export XDG_CONFIG_DIRS="$abs_builddir/test-config"
 
 if [ ! -f fedora.xz -o ! -f fedora.qcow2 -o ! -f fedora.qcow2.xz ]; then
diff --git a/builder/test-virt-builder.sh b/builder/test-virt-builder.sh
index c223d6e..bbf6e97 100755
--- a/builder/test-virt-builder.sh
+++ b/builder/test-virt-builder.sh
@@ -21,6 +21,7 @@ set -e
 
 abs_builddir=$(pwd)
 
+export XDG_CONFIG_HOME=
 export XDG_CONFIG_DIRS="$abs_builddir/test-config"
 
 if [ ! -f fedora.xz ]; then

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



More information about the Pkg-libvirt-commits mailing list