summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2013-09-19 09:48:50 +0000
committerChristoph Berg2013-09-19 09:48:50 +0000
commite2513f962d5657a3c7f699ad66aa8ed1d1bb1d94 (patch)
treeb2ccf7bbab4206959b9ab934524a45da5e3af39d
parentae97938ddbfb8ce0e7e971ec0b6eec5f8f5b4302 (diff)
t/02_slony_status.t: Fix to work with 9.3
The error was "schema does not exist" until 9.2, and is now "table does not exist", so just look for "does not exist".
-rw-r--r--t/02_slony_status.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02_slony_status.t b/t/02_slony_status.t
index 63fc284f3..9165e906b 100644
--- a/t/02_slony_status.t
+++ b/t/02_slony_status.t
@@ -32,7 +32,7 @@ $t=qq{$S fails when warning is greater than critical time};
like ($cp->run('-w 55 -c 33'), qr{ERROR:.+'warning' option .+ cannot be larger}, $t);
$t=qq{$S fails when called with an invalid schema argument};
-like ($cp->run('-w 60 --schema foobar'), qr{ERROR: .*schema}, $t);
+like ($cp->run('-w 60 --schema foobar'), qr{ERROR: .*does not exist}, $t);
cleanup_schema();