From 4fa59fd3c06f380dd0af9c6487eb0930a481d24e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 20 Nov 2014 12:05:24 -0300 Subject: [PATCH] Bug 13264: no need to test for MySQL --- t/db_dependent/www/auth_values_input_www.t | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/t/db_dependent/www/auth_values_input_www.t b/t/db_dependent/www/auth_values_input_www.t index ea0f88e..e671a47 100644 --- a/t/db_dependent/www/auth_values_input_www.t +++ b/t/db_dependent/www/auth_values_input_www.t @@ -1,6 +1,6 @@ #!/usr/bin/perl -# Copyright 2012 C & P Bibliography Services +# This file is part of Koha. # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software @@ -17,6 +17,7 @@ # use Modern::Perl; + use utf8; use Test::More; use Test::WWW::Mechanize; @@ -45,13 +46,6 @@ my $user = $ENV{KOHA_USER} || $xml->{config}->{user}; my $password = $ENV{KOHA_PASS} || $xml->{config}->{pass}; my $intranet = $ENV{KOHA_INTRANET_URL}; -my $mysql_on = ProgProcesses('mysql'); - - -if ($mysql_on < 2) { - plan skip_all => "Tests skip. You must start Mysql to do those tests\n"; -} - if (not defined $intranet) { plan skip_all => "Tests skip. You must set env. variable KOHA_INTRANET_URL to do tests\n"; } @@ -107,6 +101,4 @@ if ($id_to_del) { done_testing(); -sub ProgProcesses { - return scalar grep /$_[0]/, (split /\n/, `ps -aef`); -} +1; -- 1.9.1