Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Gys-0003JV-MX for pgsql-committers@arkaria.postgresql.org; Wed, 02 Dec 2015 23:38:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4Gyr-0006f4-EM for pgsql-committers@arkaria.postgresql.org; Wed, 02 Dec 2015 23:38:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4Gyf-0006Rf-Jf for pgsql-committers@postgresql.org; Wed, 02 Dec 2015 23:38:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4GyY-0008Ie-Jc for pgsql-committers@postgresql.org; Wed, 02 Dec 2015 23:38:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tB2NcFcZ020343; Wed, 2 Dec 2015 18:38:15 -0500 From: Tom Lane To: Alvaro Herrera cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Refactor Perl test code In-reply-to: References: Comments: In-reply-to Alvaro Herrera message dated "Wed, 02 Dec 2015 21:55:03 +0000" Date: Wed, 02 Dec 2015 18:38:15 -0500 Message-ID: <20342.1449099495@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Alvaro Herrera writes: > Refactor Perl test code This has broken "make check-world" for me (on RHEL 6.7): make -C src/bin check make[1]: Entering directory `/home/postgres/pgsql/src/bin' make -C initdb check make[2]: Entering directory `/home/postgres/pgsql/src/bin/initdb' rm -rf /home/postgres/pgsql/src/bin/initdb/tmp_check/log cd . && TESTDIR='/home/postgres/pgsql/src/bin/initdb' PATH="/home/postgres/pgsql/tmp_install/home/postgres/testversion/bin:$PATH" LD_LIBRARY_PATH="/home/postgres/pgsql/tmp_install/home/postgres/testversion/lib" PGPORT='65440' PG_REGRESS='/home/postgres/pgsql/src/bin/initdb/../../../src/test/regress/pg_regress' prove -I ../../../src/test/perl/ --verbose t/*.pl t/001_initdb.pl .. 1..14 ok 1 - initdb --help exit code 0 ok 2 - initdb --help goes to stdout ok 3 - initdb --help nothing to stderr ok 4 - initdb --version exit code 0 ok 5 - initdb --version goes to stdout ok 6 - initdb --version nothing to stderr ok 7 - initdb with invalid option nonzero exit code ok 8 - initdb with invalid option prints error message # Looks like you planned 14 tests but ran 8. # Looks like your test exited with 25 just after 8. Dubious, test returned 25 (wstat 6400, 0x1900) Failed 6/14 subtests Test Summary Report ------------------- t/001_initdb.pl (Wstat: 6400 Tests: 8 Failed: 0) Non-zero exit status: 25 Parse errors: Bad plan. You planned 14 tests but ran 8. Files=1, Tests=8, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.08 cusr 0.01 csys = 0.11 CPU) Result: FAIL make[2]: *** [check] Error 1 make[2]: Leaving directory `/home/postgres/pgsql/src/bin/initdb' make[1]: *** [check-initdb-recurse] Error 2 make[1]: Leaving directory `/home/postgres/pgsql/src/bin' make: *** [check-world-src/bin-recurse] Error 2 The buildfarm looks pretty unhappy too, though I've not checked to see if it's exactly the same symptom everywhere. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers