This fails make-check world for me, and CFBOT will say the same. Be sure to compile with --enable-tap-tests
cd . && TESTDIR='/home/pryzbyj/src/postgres/src/bin/pg_dump' PATH="/home/pryzbyj/src/postgres/tmp_install/usr/local/pgsql/bin:$PATH" LD_LIBRARY_PATH="/home/pryzbyj/src/postgres/tmp_install/usr/local/pgsql/lib" PGPORT='65432' PG_REGRESS='/home/pryzbyj/src/postgres/src/bin/pg_dump/../../../src/test/regress/pg_regress' REGRESS_SHLIB='/home/pryzbyj/src/postgres/src/test/regress/regress.so' /usr/bin/prove -I ../../../src/test/perl/ -I . t/*.pl t/001_basic.pl ................ ok t/002_pg_dump.pl .............. 13/6408 # Failed test 'binary_upgrade: should dump CREATE TABLE test_fifth_table' # at t/002_pg_dump.pl line 3601. # Review binary_upgrade results in /home/pryzbyj/src/postgres/src/bin/pg_dump/tmp_check/tmp_test_gw4p # Failed test 'binary_upgrade: should dump CREATE TABLE test_second_table' # at t/002_pg_dump.pl line 3601. # Review binary_upgrade results in /home/pryzbyj/src/postgres/src/bin/pg_dump/tmp_check/tmp_test_gw4p # Failed test 'binary_upgrade: should dump CREATE TABLE test_table' # at t/002_pg_dump.pl line 3601. # Review binary_upgrade results in /home/pryzbyj/src/postgres/src/bin/pg_dump/tmp_check/tmp_test_gw4p # Failed test 'binary_upgrade: should dump CREATE TABLE test_table_identity' # at t/002_pg_dump.pl line 3601. # Review binary_upgrade results in /home/pryzbyj/src/postgres/src/bin/pg_dump/tmp_check/tmp_test_gw4p t/002_pg_dump.pl .............. 6203/6408 # Looks like you failed 4 tests of 6408. t/002_pg_dump.pl .............. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/6408 subtests