Signed-off-by: Jason Boyer <jboyer@equinoxOLI.org>
# output the name of the currently installed pg server dev package, then
# throw away everything up to and including the last '-' to get the correct pg version
PGVERS=`dpkg-query --showformat="\\${binary:Package}\\n" --show 'postgresql-server-dev-*' | grep -v postgresql-server-dev-all`
- apt-get install postgresql-${PGVERS##*-}-pgtap
+ apt-get install -y postgresql-${PGVERS##*-}-pgtap
echo 'CREATE EXTENSION pgtap;' | su - postgres -c "psql evergreen"