From 42cbf8574419855795859096008ea550fc9c4062 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 3 Jan 2011 12:45:00 -0500 Subject: [PATCH] Fix for fsm_relations tests. --- check_postgres.pl | 2 +- t/02_fsm_relations.t | 2 +- 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; } -- 2.39.5