File: template

package info (click to toggle)
postgresql-common 181%2Bdeb9u1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,252 kB
  • sloc: perl: 3,090; sh: 1,107; makefile: 62
file content (26 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (13)
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