* debian/tests/acceptance: Run tests for each available Postgres version.
This commit is contained in:
parent
3049bb02d6
commit
eba7f46987
8
debian/tests/acceptance
vendored
8
debian/tests/acceptance
vendored
|
@ -5,10 +5,6 @@ set -e
|
|||
export LC_ALL=C.UTF-8
|
||||
export LANG=C.UTF-8
|
||||
|
||||
for PG_VERSION in /usr/lib/postgresql/*; do
|
||||
export PATRONI_POSTGRESQL_BIN_DIR=/usr/lib/postgresql/$(basename ${PG_VERSION})/bin
|
||||
done
|
||||
|
||||
if [ $(id -u) -eq 0 ]
|
||||
then
|
||||
# required so that the postgres user can create files
|
||||
|
@ -19,4 +15,6 @@ else
|
|||
SU='bash -c'
|
||||
fi
|
||||
|
||||
$SU "export PATRONI_POSTGRESQL_BIN_DIR; behave"
|
||||
for PG_VERSION in /usr/lib/postgresql/*; do
|
||||
$SU "export PATRONI_POSTGRESQL_BIN_DIR=/usr/lib/postgresql/$(basename ${PG_VERSION})/bin; behave"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue