Subject: | remove error message from test output |
The test 01-raii.t generates a harmless but suspicious error message
that can be silenced with the following patch:
$ diff -u t/01-raii.t~ t/01-raii.t
--- t/01-raii.t~ 2009-10-15 02:37:00.000000000 +0200
+++ t/01-raii.t 2011-06-07 12:25:27.000000000 +0200
@@ -24,6 +24,6 @@
undef $pgsql;
ok(
- ! DBI->connect($dsn),
+ ! DBI->connect($dsn, undef, undef, { PrintError => 0 }),
"shutdown postgresql",
);