Commit 24e786f0 authored by Peter Eisentraut's avatar Peter Eisentraut

Unset some local environment variables in TAP tests

Unset environment variables that control message language, so that we
can compare some program output with expected strings.  This is very
similar to what pg_regress does.
parent 8195e9e9
...@@ -39,6 +39,12 @@ BEGIN ...@@ -39,6 +39,12 @@ BEGIN
} }
} }
# Set to untranslated messages, to be able to compare program output
# with expected strings.
delete $ENV{LANGUAGE};
delete $ENV{LC_ALL};
$ENV{LC_MESSAGES} = 'C';
delete $ENV{PGCONNECT_TIMEOUT}; delete $ENV{PGCONNECT_TIMEOUT};
delete $ENV{PGDATA}; delete $ENV{PGDATA};
delete $ENV{PGDATABASE}; delete $ENV{PGDATABASE};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment