From: Christoph Berg Date: Sun, 5 Jun 2016 16:17:49 +0000 (+0200) Subject: Fix t/02_relation_size.t for 8.4 by skipping indexes_size X-Git-Url: http://git.postgresql.org/gitweb/-?a=commitdiff_plain;h=61dc82c8b4f527eb117604cba6c2cca88f777931;p=check_postgres.git Fix t/02_relation_size.t for 8.4 by skipping indexes_size --- diff --git a/t/02_relation_size.t b/t/02_relation_size.t index 2825c9b9d..6ddeb8dee 100644 --- a/t/02_relation_size.t +++ b/t/02_relation_size.t @@ -102,6 +102,8 @@ like ($cp->run(qq{-w 1 --includeuser=$user --include=${testtbl}_index}), #### Switch gears, and test the other size actions for $S (qw(index_size table_size indexes_size total_relation_size)) { +SKIP: { + skip "$S not supported before 9.0", 4 if ($S eq 'indexes_size' and $ver < 90000); $result = $cp->run($S, q{-w 1}); $label = "POSTGRES_\U$S"; @@ -129,5 +131,6 @@ for $S (qw(index_size table_size indexes_size total_relation_size)) { like ($cp->run($S, qq{-w 1 --includeuser=$user $include $exclude}), qr|$label.*$message|, $t) } +} exit;