aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 17:26:03 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 17:26:03 -0800
commita25a6e92793537277b796ca9751f77ac4b082d64 (patch)
tree1e0b35fc8b35e425073ac7eb5bc0e4b864767a9a /rust/tests
parent22f017df8a564a6cc9ff9893b2886f852946cbc5 (diff)
downloadfatcat-a25a6e92793537277b796ca9751f77ac4b082d64.tar.gz
fatcat-a25a6e92793537277b796ca9751f77ac4b082d64.zip
integrate pg_tmp into tests
Diffstat (limited to 'rust/tests')
-rwxr-xr-xrust/tests/pg_tmp.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/tests/pg_tmp.sh b/rust/tests/pg_tmp.sh
index c7582477..2036a76c 100755
--- a/rust/tests/pg_tmp.sh
+++ b/rust/tests/pg_tmp.sh
@@ -40,6 +40,7 @@ while [ $# -gt 0 ]; do
done
# bnewbold: hack this in to "make it work" on debian/ubuntu
+# bnewbold: also note, pg_virtualenv could also work, but is ubuntu/debian specific
export PATH="$PATH:/usr/lib/postgresql/9.6/bin:/usr/lib/postgresql/11/bin"
initdb -V > /dev/null || exit 1
PGVER=$(psql -V | awk '{print $NF}')