summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-01-03 17:45:00 +0000
committerGreg Sabino Mullane2011-01-03 17:45:00 +0000
commit42cbf8574419855795859096008ea550fc9c4062 (patch)
tree5ed0a1474e30bf7e96ea4b5869294124fc8b3c82
parent7d8cfe1a5ac15c39d23cb978bb27adaec86c596c (diff)
Fix for fsm_relations tests.
-rwxr-xr-xcheck_postgres.pl2
-rw-r--r--t/02_fsm_relations.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 8de97b528..b1ee2f51b 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -3667,7 +3667,7 @@ FROM (SELECT
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-rel-highver');
return;
}
diff --git a/t/02_fsm_relations.t b/t/02_fsm_relations.t
index 20e98cd0f..a4218c190 100644
--- a/t/02_fsm_relations.t
+++ b/t/02_fsm_relations.t
@@ -63,7 +63,7 @@ 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_relations}, $t);
+ like ($cp->run('--warning=10%'), qr{^$label UNKNOWN.*Cannot check fsm_relations}, $t);
exit;
}