aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_walsummary/t/001_basic.pl
blob: 0d606075c1994b3e5edc9271a687b5e9e1b2678e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (c) 2021-2024, PostgreSQL Global Development Group

use strict;
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

my $tempdir = PostgreSQL::Test::Utils::tempdir;

program_help_ok('pg_walsummary');
program_version_ok('pg_walsummary');
program_options_handling_ok('pg_walsummary');

command_fails_like(
	['pg_walsummary'],
	qr/no input files specified/,
	'input files must be specified');

done_testing();