HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/share/postgresql-common/t/template
# 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