From: Greg Sabino Mullane Date: Thu, 30 Jun 2011 03:05:02 +0000 (-0400) Subject: Fix tests for new naming. X-Git-Tag: 2.18.0~35 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=87d26be166707c79d264c225631b418bb032d985;p=check_postgres.git Fix tests for new naming. --- diff --git a/t/02_commitratio.t b/t/02_commitratio.t index 6daad1e5e..018d33a79 100644 --- a/t/02_commitratio.t +++ b/t/02_commitratio.t @@ -1,6 +1,6 @@ #!perl -## Test the "database_size" action +## Test the "commitratio" action use 5.006; use strict; @@ -12,12 +12,12 @@ use CP_Testing; use vars qw/$dbh $dbh2 $SQL $count $host $t $result $user/; -my $cp = CP_Testing->new({default_action => 'database_commitratio'}); +my $cp = CP_Testing->new({default_action => 'commitratio'}); $dbh = $cp->test_database_handle(); -my $S = q{Action 'database_commitratio'}; -my $label = 'POSTGRES_DATABASE_COMMITRATIO'; +my $S = q{Action 'commitratio'}; +my $label = 'POSTGRES_COMMITRATIO'; $cp->drop_all_tables(); diff --git a/t/02_hitratio.t b/t/02_hitratio.t index 8564de1e0..15a738671 100644 --- a/t/02_hitratio.t +++ b/t/02_hitratio.t @@ -1,6 +1,6 @@ #!perl -## Test the "database_size" action +## Test the "hitratio" action use 5.006; use strict; @@ -12,12 +12,12 @@ use CP_Testing; use vars qw/$dbh $dbh2 $SQL $count $host $t $result $user/; -my $cp = CP_Testing->new({default_action => 'database_hitratio'}); +my $cp = CP_Testing->new({default_action => 'hitratio'}); $dbh = $cp->test_database_handle(); -my $S = q{Action 'database_hitratio'}; -my $label = 'POSTGRES_DATABASE_HITRATIO'; +my $S = q{Action 'hitratio'}; +my $label = 'POSTGRES_HITRATIO'; $cp->drop_all_tables();