pgloader/debian/tests/testsuite
2022-06-24 13:21:29 +02:00

12 lines
295 B
Bash
Executable File

#!/bin/sh
set -eux
case $USER in
root) PGSUPERUSER=postgres ;;
*) PGSUPERUSER=$USER ;;
esac
# use trust authentication to avoid scram failures on bullseye/buster/stretch/impish/focal/bionic
PGLOADER=pgloader PGSUPERUSER=$PGSUPERUSER pg_virtualenv -i'-Atrust' make -C test prepare regress