Fix broken psql tests.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 20 Jan 2019 10:05:36 +0000 (11:05 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 20 Jan 2019 10:05:52 +0000 (11:05 +0100)
This test seemed to fail on recent Debian systems, due to a combination
of perl,bash,postgresql and autoconf not playing nicely together.

tests/language/data-io/get-data-psql.at

index 923c9bd3c7637ec512e81b9c038cbfebd7607e9f..f1ebd3404ea977683b33a67e0fca4895c82ee213 100644 (file)
@@ -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],