From 0efb492107c45e2e4068cbb663e778e4ee33aae6 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Mon, 24 Dec 2012 23:09:23 +0100 Subject: [PATCH] move sample config files in resources --- t/config/sample1/agent.cfg => resources/config/sample1 | 0 t/config/sample2/agent.cfg => resources/config/sample2 | 0 t/config/sample3/agent.cfg => resources/config/sample3 | 0 t/components/config.t | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename t/config/sample1/agent.cfg => resources/config/sample1 (100%) rename t/config/sample2/agent.cfg => resources/config/sample2 (100%) rename t/config/sample3/agent.cfg => resources/config/sample3 (100%) diff --git a/t/config/sample1/agent.cfg b/resources/config/sample1 similarity index 100% rename from t/config/sample1/agent.cfg rename to resources/config/sample1 diff --git a/t/config/sample2/agent.cfg b/resources/config/sample2 similarity index 100% rename from t/config/sample2/agent.cfg rename to resources/config/sample2 diff --git a/t/config/sample3/agent.cfg b/resources/config/sample3 similarity index 100% rename from t/config/sample3/agent.cfg rename to resources/config/sample3 diff --git a/t/components/config.t b/t/components/config.t index aaa916b327..53734fbe18 100644 --- a/t/components/config.t +++ b/t/components/config.t @@ -31,7 +31,7 @@ plan tests => (scalar keys %config) * 3; foreach my $test (keys %config) { my $c = FusionInventory::Agent::Config->new(options => { - 'conf-file' => "t/config/$test/agent.cfg" + 'conf-file' => "resources/config/$test" }); foreach my $k (qw/ no-task no-category httpd-trust /) {