This file is indexed.

/usr/share/postgresql-common/t/template is in postgresql-common 190.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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