Skip to content
Snippets Groups Projects
Commit fcf0d9a8 authored by Lukas Braun's avatar Lukas Braun
Browse files

test_pg.sh: Fix passing PGHOST as argument

parent b4b5edc2
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,8 @@ set -eu ...@@ -4,7 +4,8 @@ set -eu
go test -c -o ./goatherd.test & go test -c -o ./goatherd.test &
if [ "${1:-x}" = "--start-pg" ]; then if [ "${1:-x}" = "--start-pg" ]; then
shift
PGHOST="$PWD/postgres_test" PGHOST="$PWD/postgres_test"
if [ $# -ge 1 ]; then if [ $# -ge 1 ]; then
PGHOST="$(realpath -- "$1")" PGHOST="$(realpath -- "$1")"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment