[liblinux-distribution-perl] 23/34: Fixed tests to actually work when called from "make test"
gregor herrmann
gregoa at debian.org
Thu Jun 4 21:35:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to annotated tag v0.22
in repository liblinux-distribution-perl.
commit b4d2760bfa8d7a78dddfea3747463f930e70bc6a
Author: Mike <michiel.beijen at gmail.com>
Date: Thu Sep 1 11:58:14 2011 +0200
Fixed tests to actually work when called from "make test"
---
t/centos.t | 2 +-
t/centos6.t | 2 +-
t/fedora15.t | 2 +-
t/rhel6.t | 2 +-
t/scientific6.t | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/t/centos.t b/t/centos.t
index b8a4c70..82e0ea0 100644
--- a/t/centos.t
+++ b/t/centos.t
@@ -6,7 +6,7 @@ use Test::More tests => 2;
use lib '../lib/';
use Linux::Distribution;
-local $Linux::Distribution::release_files_directory='centos/';
+local $Linux::Distribution::release_files_directory='t/centos/';
my $linux = Linux::Distribution->new;
my $distro = $linux->distribution_name();
is($distro,'centos');
diff --git a/t/centos6.t b/t/centos6.t
index bbd26c7..f942bd6 100644
--- a/t/centos6.t
+++ b/t/centos6.t
@@ -6,7 +6,7 @@ use Test::More tests => 2;
use lib '../lib/';
use Linux::Distribution;
-local $Linux::Distribution::release_files_directory='centos6/';
+local $Linux::Distribution::release_files_directory='t/centos6/';
my $linux = Linux::Distribution->new;
my $distro = $linux->distribution_name();
is($distro,'centos');
diff --git a/t/fedora15.t b/t/fedora15.t
index e2c72ce..655745c 100644
--- a/t/fedora15.t
+++ b/t/fedora15.t
@@ -6,7 +6,7 @@ use Test::More tests => 2;
use lib '../lib/';
use Linux::Distribution;
-local $Linux::Distribution::release_files_directory='fedora15/';
+local $Linux::Distribution::release_files_directory='t/fedora15/';
my $linux = Linux::Distribution->new;
my $distro = $linux->distribution_name();
is($distro,'fedora');
diff --git a/t/rhel6.t b/t/rhel6.t
index c17c1ef..47a38e8 100644
--- a/t/rhel6.t
+++ b/t/rhel6.t
@@ -6,7 +6,7 @@ use Test::More tests => 2;
use lib '../lib/';
use Linux::Distribution;
-local $Linux::Distribution::release_files_directory='rhel6/';
+local $Linux::Distribution::release_files_directory='t/rhel6/';
my $linux = Linux::Distribution->new;
my $distro = $linux->distribution_name();
is($distro,'redhat');
diff --git a/t/scientific6.t b/t/scientific6.t
index 7f26891..6a2222a 100644
--- a/t/scientific6.t
+++ b/t/scientific6.t
@@ -6,7 +6,7 @@ use Test::More tests => 2;
use lib '../lib/';
use Linux::Distribution;
-local $Linux::Distribution::release_files_directory='scientific6/';
+local $Linux::Distribution::release_files_directory='t/scientific6/';
my $linux = Linux::Distribution->new;
my $distro = $linux->distribution_name();
is($distro,'scientific');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblinux-distribution-perl.git
More information about the Pkg-perl-cvs-commits
mailing list