From: Greg Sabino Mullane Date: Mon, 3 Jan 2011 17:45:00 +0000 (-0500) Subject: Fix for fsm_relations tests. X-Git-Tag: 2.15.4~7 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=42cbf8574419855795859096008ea550fc9c4062;p=check_postgres.git Fix for fsm_relations tests. --- 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; }