File: pg14-error

package info (click to toggle)
check-postgres 2.25.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,016 kB
  • sloc: perl: 12,307; sh: 18; makefile: 13
file content (18 lines) | stat: -rw-r--r-- 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
commit 5ca17990b26648d17c44741817d2c9654604d2c0
Author: Christoph Berg <christoph.berg@credativ.de>
Date:   Thu Sep 9 17:03:43 2021 +0200

    t/02_connection.t: Update for error message changed in PG14

diff --git a/t/02_connection.t b/t/02_connection.t
index c298c40..958a4f5 100644
--- a/t/02_connection.t
+++ b/t/02_connection.t
@@ -60,6 +60,6 @@ like ($cp->run('--timeout 1'), qr{^$label CRITICAL:.*Timed out}, $t);
 $cp->reset_path();
 
 $t=qq{$S fails on nonexisting socket};
-like ($cp->run('--port=1023'), qr{^$label CRITICAL:.*could not connect to server}, $t);
+like ($cp->run('--port=1023'), qr{^$label CRITICAL:.*(could not connect to server|connection to server.*failed)}, $t);
 
 exit;