Fix for fsm_relations tests.
authorGreg Sabino Mullane <greg@endpoint.com>
Mon, 3 Jan 2011 17:45:00 +0000 (12:45 -0500)
committerGreg Sabino Mullane <greg@endpoint.com>
Mon, 3 Jan 2011 17:45:00 +0000 (12:45 -0500)
check_postgres.pl
t/02_fsm_relations.t

index 8de97b528cb7ec756846dc9adfc62d15f4a67d13..b1ee2f51b3311c3ce6d5f6814c36343cb3b7fa02 100755 (executable)
@@ -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;
     }
index 20e98cd0f6e966a1c09a272a641fff963bf871ee..a4218c1909a44bc4044226d0448ce251f322cd49 100644 (file)
@@ -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;
 }