summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-07-04 18:42:20 +0000
committerGreg Sabino Mullane2011-07-04 18:42:20 +0000
commit4325ec907dccd33ef49f23a558791cc6e7a7e0c4 (patch)
treec0e79c5ab29b9456f385fd77351ffcf0efa5ba9e
parenta0fa6dae42b574512ec38647dc3911dcbfbb5873 (diff)
Tweak backend tests to account for new output
-rw-r--r--t/02_backends.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/02_backends.t b/t/02_backends.t
index ed34ecb30..255f56310 100644
--- a/t/02_backends.t
+++ b/t/02_backends.t
@@ -38,17 +38,17 @@ $t=qq{$S returned expected text and OK value};
like ($result, qr{^$label OK:}, $t);
$t=qq{$S returned correct host name};
-like ($result, qr{^$label OK: \(host:$host\)}, $t);
+like ($result, qr{^$label OK:.* \(host:$host\)}, $t);
$t=qq{$S returned correct connection count};
SKIP: {
$goodver or skip 'Cannot test backends completely with older versions of Postgres', 3;
- like ($result, qr{^$label OK: \(host:$host\).* 2 of 10 connections}, $t);
+ like ($result, qr{^$label OK:.* \(host:$host\).* 2 of 10 connections}, $t);
$t=qq{$S returned correct percentage};
- like ($result, qr{^$label OK: \(host:$host\).* 2 of 10 connections \(20%\)}, $t);
+ like ($result, qr{^$label OK:.* \(host:$host\).* 2 of 10 connections \(20%\)}, $t);
$t=qq{$S returned correct performance data};
like ($result, qr{ \| time=\d\.\d\ds ardala=0;9;9;0;10 beedeebeedee=0;9;9;0;10 postgres=2;9;9;0;10 template0=0;9;9;0;10 template1=0;9;9;0;10\s$}, $t);