• Andrew Dunstan's avatar
    Work around NetBSD shell issue in pg_upgrade test script. · c737a2e5
    Andrew Dunstan authored
    The NetBSD shell apparently returns non-zero from an unset command if
    the variable is already unset. This matters when, as in pg_upgrade's
    test.sh, we are working under 'set -e'. To protect against this, we
    first set the PG variables to an empty string before unsetting them
    completely.
    
    Error found on buildfarm member coypu, solution from Rémi Zara.
    c737a2e5
test.sh 5.25 KB