2017-03-13 19:11:05 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2017-07-06 17:07:28 +00:00
|
|
|
# Used in the Docker image to run tests
|
|
|
|
|
|
|
|
PGDATA=/var/lib/postgresql/data
|
|
|
|
# Reads PG_MAJOR from the environment
|
|
|
|
pg_ctl=/usr/lib/postgresql/${PG_MAJOR}/bin/pg_ctl
|
|
|
|
$pg_ctl "--pgdata=${PGDATA}" start -w
|
|
|
|
make installcheck
|
|
|
|
$pg_ctl "--pgdata=${PGDATA}" stop
|