Re: [COMMITTERS] pgsql: Add TAP tests for password-based authentication methods.

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Add TAP tests for password-based authentication methods.
Date: 2017-03-20 10:30:10
Message-ID: 6d1e106c-5685-cf14-54d5-5f5825a1070b@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 03/20/2017 02:32 AM, Peter Eisentraut wrote:
> On 3/17/17 05:37, Heikki Linnakangas wrote:
>> Add TAP tests for password-based authentication methods.
>>
>> Tests all combinations of users with MD5, plaintext and SCRAM verifiers
>> stored in pg_authid, with plain 'password', 'md5' and 'scram'
>> authentication methods.
>
> This is missing an entry for tmp_check/ in .gitignore. But maybe we can
> do that globally instead of repeating it in every directory?

Hmm. That would be nice. However, many of the test suites have other
files and directories in their .gitignores, so handling tmp_check
globally wouldn't move the needle much. And handling some generated
subdirectories globally and others locally seems confusing. For example,
src/test/regress/.gitignore currently looks like this:

> # Local binaries
> /pg_regress
>
> # Generated subdirectories
> /tmp_check/
> /results/
> /log/
>
> # Note: regreesion.* are only left behind on a failure; that's why they're not ignored
> #/regression.diffs
> #/regression.out

Not having /tmp_check/ in the above would look like an omission, when
/results/ and /log/ are still listed.

If we could also handle results and log globally, that would be nice.
But IMHO those names are too generic to put to a global .gitignore. We
could rename them, but this starts to feel like more trouble than it's
worth. I'll just go and create a .gitignore for /tmp_check/ to
src/test/authentication.

- Heikki

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-03-20 11:48:09 Re: pgsql: Improve pg_dump regression tests and code coverage
Previous Message Heikki Linnakangas 2017-03-20 06:30:48 Re: [COMMITTERS] pgsql: Add TAP tests for password-based authentication methods.

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2017-03-20 10:30:56 Re: PoC plpgsql - possibility to force custom or generic plan
Previous Message Daniel Gustafsson 2017-03-20 10:14:11 Re: Size vs size_t