From: John Darrington Date: Sun, 20 Jan 2019 10:05:36 +0000 (+0100) Subject: Fix broken psql tests. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=155050e92af007abd39bf99a350285d8f3118953 Fix broken psql tests. This test seemed to fail on recent Debian systems, due to a combination of perl,bash,postgresql and autoconf not playing nicely together. --- diff --git a/tests/language/data-io/get-data-psql.at b/tests/language/data-io/get-data-psql.at index 923c9bd3c7..f1ebd3404e 100644 --- a/tests/language/data-io/get-data-psql.at +++ b/tests/language/data-io/get-data-psql.at @@ -136,7 +136,7 @@ m4_define([INIT_PSQL], # normal $PATH works fine though. if (PATH=$PG_PATH:$PATH psql -V) >/dev/null 2>&1; then psql () { - PATH=$PG_PATH:$PATH command psql "$@" + PATH=$PG_PATH:$PATH command psql "$$@@" } fi AT_CHECK([psql -h "$socket_dir" -p $PG_PORT $PG_DBASE < populate.sql],