tests: postgresql: Fix it.
authorMathieu Othacehe <othacehe@gnu.org>
Tue, 13 Apr 2021 17:26:39 +0000 (19:26 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Tue, 13 Apr 2021 17:31:28 +0000 (19:31 +0200)
This is a follow-up of c311147bd16aa0e5746d9cbf31502f5fd61e470c.

* gnu/tests/databases.scm (run-postgresql-test): Use "/tmp" as database host.

gnu/tests/databases.scm

index 4bfe4ee..c8d11e1 100644 (file)
                 (let* ((port (open-pipe*
                               OPEN_READ
                               #$(file-append postgresql "/bin/psql")
-                              "-tAh" "/var/run/postgresql"
+                              "-tAh" "/tmp"
                               "-c" "SELECT 1 FROM pg_database WHERE
  datname='root'"))
                        (output (get-string-all port)))