• Tom Lane's avatar
    Make new authentication test case more robust. · 4d41823c
    Tom Lane authored
    I happened to notice that the new test case I added in b55b4dad
    falls over if one runs "make check" repeatedly; though not in branches
    after v10.  That's because it was assuming that tmp_check/pgpass
    wouldn't exist already.  However, it's only been since v11 that the
    Makefiles forcibly remove all of tmp_check/ before starting a TAP run.
    This fix to unlink the file is therefore strictly necessary only in
    v10 ... but it seems wisest to do it across the board, rather than
    let the test rely on external logic to get the conditions right.
    4d41823c
001_password.pl 4.02 KB