Skip to content
Snippets Groups Projects
Commit 6d48ce89 authored by Christoph Berg's avatar Christoph Berg :satellite:
Browse files

Test extensions on all majors

I'm not reindenting the whole file for now...
parent 3c666a1c
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,12 @@ use TestLib;
use PgCommon;
use Test::More 0.87; # needs libtest-simple-perl backport on lenny
my $v = $MAJORS[-1];
foreach my $v (@MAJORS) {
note "Running tests for $v";
if ($v < '9.1') {
pass 'No extensions for version < 9.1';
done_testing(1);
exit 0;
next;
}
# create cluster
......@@ -78,6 +78,7 @@ foreach (</usr/share/postgresql/$v/extension/*.control>) {
# clean up
is ((system "pg_dropcluster $v main --stop"), 0, "pg_dropcluster $v main");
check_clean;
}
done_testing();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment