From 502925655d1a51aad544804c8ef492a5d24e1776 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 27 Sep 2021 19:22:56 +0000 Subject: services: database: Change postgresql default socket. Adapt to the postgresql default socket directory set to /var/run/postgresql. * gnu/services/databases.scm ()[socket-directory]: Set to /var/run/postgresql. (): Ditto. * gnu/tests/databases.scm (run-postgresql-test): Adapt it. --- gnu/tests/databases.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu/tests') 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 @@ (define marionette (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) -- cgit v1.2.3