diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-27 19:22:56 +0000 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-27 19:22:56 +0000 |
commit | 502925655d1a51aad544804c8ef492a5d24e1776 (patch) | |
tree | f9cff6bbdb53a294b1c5dd8ece8f6f21dfb8c8e8 /gnu/tests | |
parent | 02c43445544426aa4eebfd08289161509bc21460 (diff) | |
download | guix-502925655d1a51aad544804c8ef492a5d24e1776.tar.gz |
services: database: Change postgresql default socket.
Adapt to the postgresql default socket directory set to /var/run/postgresql. * gnu/services/databases.scm (<postgresql-config-file>)[socket-directory]: Set to /var/run/postgresql. (<postgresql-role-configuration>): Ditto. * gnu/tests/databases.scm (run-postgresql-test): Adapt it.
Diffstat (limited to 'gnu/tests')
-rw-r--r-- | gnu/tests/databases.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/tests/databases.scm b/gnu/tests/databases.scm index ead8593854..a20de1a8c7 100644 --- a/gnu/tests/databases.scm +++ b/gnu/tests/databases.scm @@ -228,8 +228,7 @@ (let* ((port (open-pipe* OPEN_READ #$(file-append postgresql "/bin/psql") - "-tAh" "/tmp" - "-c" "SELECT 1 FROM pg_database WHERE + "-tA" "-c" "SELECT 1 FROM pg_database WHERE datname='root'")) (output (get-string-all port))) (close-pipe port) |