Greg Sabino Mullane wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I just committed a bunch of code meant to greatly increase
DBD::Pg's ability to run the tests, especially on boxes which
have a pg_hba.conf that disallows connecting as another user.
In short, it creates a new cluster and starts it up for testing
if it cannot get a valid connection via the usual ways. Before
releasing this, I'd like some people to look over the code
and/or test it out. If you can, test as both root and non-root:
there is some code in there to do the right thing even if trying
to initdb as a root user.
All tests are passing for me, perl 5.8.8, Darwin OS X 10.5, pg 8.2.4.
I've been following the 2.x line somewhat but not that closely. Can I
upgrade to 2.x and expect everything to just work or have there been
major API changes that aren't backwards compatible?
Thanks,
Fred
---------------------------------------
[EMAIL PROTECTED] ~/dev/svn/dbdpg $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-signature......skipped
all skipped: Set the environment variable TEST_SIGNATURE to
enable this test
t/00basic...........ok
t/01connect.........ok 1/13#
# DBI Version 1.52
# DBD::Pg Version v2.6.1_1
# Perl Version 5.8.8
# OS darwin
# PostgreSQL (compiled) 80204
# PostgreSQL (target) 80204
# PostgreSQL (reported) PostgreSQL 8.2.4 on i386-apple-darwin8.9.1,
compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple
Computer, Inc. build 5367)
# Default port 5432
# DBI_DSN dbi:Pg:
# DBI_USER postgres
# Test schema dbd_pg_testschema
# array_nulls on
# backslash_quote safe_encoding
# client_encoding SQL_ASCII
# server_encoding SQL_ASCII
# Adjusted: DBI_DSN
t/01connect.........ok
5/13 skipped: DBI_DSN contains no database option, so skipping
connection tests
t/01constants.......ok
t/02attribs.........ok
1/132 skipped: Cannot test DB handle attribute "Name" invalid
DBI_DSN
t/03dbmethod........ok
6/220 skipped: various reasons
t/03smethod.........ok
2/96 skipped: DBI must be at least version 1.54 to test
private_attribute_info
t/04misc............ok
t/06bytea...........ok
t/07copy............ok
t/08async...........ok
t/09arrays..........ok
t/12placeholders....ok
t/20savepoints......ok
t/99_perlcritic.....skipped
all skipped: Set the environment variable TEST_CRITIC to enable
this test
t/99_pod............ok
3/3 skipped: various reasons
t/99_yaml...........ok
2/2 skipped: Skipping Test::YAML::Meta tests: module not found
t/99cleanup.........ok
All tests successful, 2 tests and 19 subtests skipped.
Files=18, Tests=1042, 22 wallclock secs ( 1.62 cusr + 0.43 csys = 2.05
CPU)
Thanks,
- --
Greg Sabino Mullane [EMAIL PROTECTED]
End Point Corporation
PGP Key: 0x14964AC8 200804271458
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAkgUzPcACgkQvJuQZxSWSsjJkACeNKbsdAFtc/UXngjlYM4wCOLb
HAAAniDHpHc0gHVbD7C9RhoixYdVtBZa
=b3m7
-----END PGP SIGNATURE-----
--
Red Hot Penguin Consulting LLC
mod_perl consulting and implementation
http://www.redhotpenguin.com/