projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42cbf85
)
Cannot test listener action of postgres 9.0 and up
author
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 3 Jan 2011 17:46:50 +0000
(12:46 -0500)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 3 Jan 2011 17:46:50 +0000
(12:46 -0500)
t/02_listener.t
patch
|
blob
|
blame
|
history
diff --git
a/t/02_listener.t
b/t/02_listener.t
index cb0769163fc77465e4d68eaad0c5e0145a836ce0..5a8f74c8de8876206f82c722f38796acd77ad307 100644
(file)
--- a/
t/02_listener.t
+++ b/
t/02_listener.t
@@
-24,6
+24,16
@@
my $label = 'POSTGRES_LISTENER';
$result = $cp->run('-w foo');
+my $ver = $dbh->{pg_server_version};
+if ($ver >= 90000) {
+ SKIP: {
+ skip 'Cannot test listener on Postgres 9.0 or higher', 8;
+ }
+
+ exit;
+
+}
+
$t = qq{$S returned expected text and warning};
like ($result, qr{^$label WARNING:}, $t);