make check-world dies ingloriously for me, like this:
/bin/sh ../../../config/install-sh -c -d tmp_check/log
make -C ../../..
DESTDIR='/Users/rhaas/pgsql/src/bin/initdb'/tmp_check/install install
>'/Users/rhaas/pgsql/src/bin/initdb'/tmp_check/log/install.log 2>&1
cd . && TESTDIR='/Users/rhaas/pgsql/src/bin/initdb'
PATH="/Users/rhaas/pgsql/src/bin/initdb/tmp_check/install/Users/rhaas/project/bin:$PATH"
DYLD_LIBRARY_PATH='/Users/rhaas/pgsql/src/bin/initdb/tmp_check/install/Users/rhaas/project/lib'
PGPORT='65432' prove --ext='.pl' -I ../../../src/test/perl/ --verbose
t/
t/001_initdb.pl ..
1..14 1..3 ok 1 - initdb --help exit code 0 ok 2 - initdb --help goes to stdout ok 3 - initdb --help nothing to
stderr
ok 1 - initdb --help 1..3 ok 1 - initdb --version exit code 0 ok 2 - initdb --version goes to stdout ok 3 -
initdb--version nothing to stderr
ok 2 - initdb --version 1..2 ok 1 - initdb with invalid option nonzero exit code ok 2 - initdb with invalid
optionprints error message # Looks like your test exited with 256 just after 2.
not ok 3 - initdb options handling
# Failed test 'initdb options handling'
# at /opt/local/lib/perl5/5.12.5/Test/Builder.pm line 229.
ok 4 - basic initdb
ok 5 - existing data directory
ok 6 - nosync
ok 7 - sync only
ok 8 - sync missing data directory
ok 9 - existing empty data directory
ok 10 - separate xlog directory
ok 11 - relative xlog directory not allowed
ok 12 - existing empty xlog directory
ok 13 - existing nonempty xlog directory
ok 14 - select default dictionary
# Looks like you failed 1 test of 14.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/14 subtests
Test Summary Report
-------------------
t/001_initdb.pl (Wstat: 256 Tests: 14 Failed: 1) Failed test: 3 Non-zero exit status: 1
Files=1, Tests=14, 23 wallclock secs ( 0.02 usr 0.01 sys + 9.57 cusr3.37 csys = 12.97 CPU)
Result: FAIL
make[2]: *** [check] Error 1
make[1]: *** [check-initdb-recurse] Error 2
make: *** [check-world-src/bin-recurse] Error 2
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company