Description: Fix the test suite
 Add some missing --quiet option to not confuse the test runner with
 some inappropriate output.
 .
 Replace a bad array assignment that lead to not correctly passing
 the --common_config and --common_content options.
Author: Raphaël Hertzog <hertzog@debian.org>
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=747871

diff --git a/t/300.Builder.t b/t/300.Builder.t
index df8571e..4af9606 100644
--- a/t/300.Builder.t
+++ b/t/300.Builder.t
@@ -18,7 +18,8 @@ my $publican = Publican->new(
     {   debug          => 1,
         configfile     => 'publican.cfg',
         common_config  => abs_path('../blib/datadir'),
-        common_content => abs_path('../blib/datadir/Common_Content')
+        common_content => abs_path('../blib/datadir/Common_Content'),
+        QUIET          => 1,
     }
 );
 
diff --git a/t/900.publican.t b/t/900.publican.t
index 602aece..ad6cc78 100644
--- a/t/900.publican.t
+++ b/t/900.publican.t
@@ -23,7 +23,7 @@ my $coverdb        = '';
 $coverdb = qq|-MDevel::Cover=-db,$cover_db| if ($cover_db);
 
 my $common_opts
-    = qq|--common_config="$common_config" --common_content="$common_content"|;
+    = qq|--quiet --common_config="$common_config" --common_content="$common_content"|;
 
 is( system(qq{perl -CA $coverdb -I $lib -c $publican $common_opts -v}),
     0, 'test sytnax OK' );
diff --git a/t/910.publican.Users_Guide.t b/t/910.publican.Users_Guide.t
index be2f4bb..2ba16db 100644
--- a/t/910.publican.Users_Guide.t
+++ b/t/910.publican.Users_Guide.t
@@ -21,8 +21,8 @@ if ( -d 'cover_db' ) {
 }
 my $lib         = abs_path('blib/lib');
 my $publican    = abs_path('blib/script/publican');
-my @common_opts = [ '--common_config', $common_config, '--common_content',
-    $common_content ];
+my @common_opts = ( '--common_config', $common_config, '--common_content',
+    $common_content, '--quiet' );
 
 my $dir = pushd('Users_Guide');
 my $result;
