pg_amcheck: Fix test failure on Windows with non-existing role For SSPI auth extra users need to be explicitly allowed, or we get "SSPI authentication failed" instead of the expected "role does not exist" error.
This report also means that the test has never worked on Windows since its introduction in 9706092839db, because it has always bumped on an authentication failure rather than an error about the role not existing. Oversight in eef4a33f62f7, that has added a pattern check on the error generated by the command. Per report from Tom Lane, via buildfarm member drongo. Author: Dagfinn Ilmari Mannsåker Reviewed-by: Andrew Dunstan Discussion: https://postgr.es/m/379085.1737734...@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/14793f47192b5eb02197cd03afb88559d7514b76 Modified Files -------------- src/bin/pg_amcheck/t/002_nonesuch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)