summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-01-03 17:43:13 +0000
committerGreg Sabino Mullane2011-01-03 17:43:13 +0000
commit7d8cfe1a5ac15c39d23cb978bb27adaec86c596c (patch)
tree654d374ac3b8a6c570af927c752068c3541343f6
parentc2cb17268061da9d48f600b21545f4ff285849c4 (diff)
Fix fsm_pages tests.
-rwxr-xr-xcheck_postgres.pl2
-rw-r--r--t/02_fsm_pages.t5
2 files changed, 4 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index ec5c863db..8de97b528 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -3608,7 +3608,7 @@ FROM
my $info = run_command($SQL, { version => [ ">8.3 $SQLNOOP" ] } );
- if (exists $info->{db}[0]{fail}) {
+ if (exists $info->{db}[0]{slurp}[0]{fail}) {
add_unknown msg('fsm-page-highver');
return;
}
diff --git a/t/02_fsm_pages.t b/t/02_fsm_pages.t
index 0e9367d11..542afbb50 100644
--- a/t/02_fsm_pages.t
+++ b/t/02_fsm_pages.t
@@ -63,9 +63,10 @@ if ($ver >= 80400) {
}
$t=qq{$S gives an unknown when running against a 8.4 or higher version};
- like ($cp->run('--warning=10%'), qr{^$label UNKNOWN.*Cannot check on fsm_pages}, $t);
+ like ($cp->run('--warning=10%'), qr{^$label UNKNOWN.*Cannot check fsm_pages}, $t);
+
+ exit;
- exit;
}
$t=qq{$S gives normal output for empty tables};