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
|
|
|
|
pg_ctl=/usr/lib/postgresql/${PG_MAJOR}/bin/pg_ctl
|
2018-06-16 22:16:53 +00:00
|
|
|
"$pg_ctl" "--pgdata=${PGDATA}" start -w
|
2017-07-06 17:07:28 +00:00
|
|
|
make installcheck
|
2018-06-16 22:16:53 +00:00
|
|
|
"$pg_ctl" "--pgdata=${PGDATA}" stop
|
2019-07-31 06:05:50 +00:00
|
|
|
if [ -f regression.diffs ]; then
|
|
|
|
cat regression.diffs
|
|
|
|
fi
|