blob: fa1df593c70317c9cb374a53f825ac7caf2225e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Check XXX
use strict;
use lib 't';
use TestLib;
use PgCommon;
use Test::More tests => 14;
my @versions = ($MAJORS[-1]);
# create clusters
foreach (@versions) {
is ((system "pg_createcluster $_ main --start >/dev/null"), 0, "pg_createcluster $_ main");
is_program_out 'postgres', "createdb --cluster $_/main XXX", 0, '';
}
# XXX
# clean up
foreach (@versions) {
is ((system "pg_dropcluster $_ main --stop"), 0, "pg_dropcluster $_ main");
}
check_clean;
# vim: filetype=perl
|