Skip to content

tools/testers/pg_prove_tests.sh fails when PostgreSQL port is not passed #1356

@landryb

Description

@landryb

with 2.6.3, i had no issue running the previous testing suite on OpenBSD. with 3.0.0, i made ports for pgtap and pg_prove, which do pass their own test suite without issue (w/ psql 12).

but running tools/testers/pg_prove_tests.sh postgres from the toplevel dir against a throwaway psql instance setup by our ports infrastructure, i get this:

server started
RELEASE_TYPE b

cd ./tools/testers/
psql -f setup_db.sql
OK
PANIC: could not determine iterator for input  at /usr/libdata/perl5/App/Prove.pm line 548.

from my understanding, the testing db is inited fine, but the pg_prove invocation badly fails. If i remove the --quiet from the pg_prove invocation, same thing without much more details.

i suppose this testing suite is supposed to work ? something missing in my env ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions