Commit 773e84f5 authored by Tom Lane's avatar Tom Lane

Update perl5's self-test for changed spelling of connection failure

error message.
parent 0f17e3fa
#!/usr/local/bin/perl -w
# $Id: test.pl,v 1.11 1999/10/08 17:14:45 momjian Exp $
# $Id: test.pl,v 1.12 2000/03/11 02:57:24 tgl Exp $
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
......@@ -114,7 +114,7 @@ $result = $conn->exec("CREATE DATABASE $dbname");
or die "\$conn->exec ............. not ok: ", $conn->errorMessage;
$conn = Pg::connectdb("dbname=rumpumpel");
( $conn->errorMessage =~ 'Database rumpumpel does not exist' )
( $conn->errorMessage =~ 'Database "rumpumpel" does not exist' )
and print "\$conn->errorMessage ..... ok\n"
or die "\$conn->errorMessage ..... not ok: ", $conn->errorMessage;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment