[libconfig-model-dpkg-perl] 02/03: fix test to use home dir instead of data dir (cf File::HomeDir)

dod at debian.org dod at debian.org
Fri Aug 23 10:42:44 UTC 2013


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 10657b0ab3ca71d532c399af7e933ed8ee872943
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Aug 23 09:59:21 2013 +0200

    fix test to use home dir instead of data dir (cf File::HomeDir)
---
 t/model_tests.d/dpkg-test-conf.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/model_tests.d/dpkg-test-conf.pl b/t/model_tests.d/dpkg-test-conf.pl
index 56a4883..b85e3a6 100644
--- a/t/model_tests.d/dpkg-test-conf.pl
+++ b/t/model_tests.d/dpkg-test-conf.pl
@@ -11,7 +11,7 @@ $skip = ( $@ or not -r '/etc/debian_version' ) ? 1 : 0;
 
 my $del_home = sub { 
     my $r = shift ;
-    my $home = File::HomeDir->my_data; # Works also on Windows
+    my $home = File::HomeDir->my_home; # Works also on Windows
     push @$r, "$home/.dpkg-meta.yml" ;
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list