Skip to content
Snippets Groups Projects
Commit abece8af authored by Andrew Dunstan's avatar Andrew Dunstan
Browse files

Clean environment for pg_upgrade test.

This removes exisiting PG settings from the environment for
pg_upgrade tests, just like pg_regress does.
parent 65c3bf19
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,15 @@ PGDATA=$temp_root/data
export PGDATA
rm -rf "$PGDATA" "$PGDATA".old
unset PGDATABASE
unset PGUSER
unset PGSERVICE
unset PGSSLMODE
unset PGREQUIRESSL
unset PGCONNECT_TIMEOUT
unset PGHOST
unset PGHOSTADDR
logdir=$PWD/log
rm -rf "$logdir"
mkdir "$logdir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment