Skip to content

Commit 7912f9b

Browse files
committed
Remove use of TAP subtests
They turned out to be too much of a portability headache, because they need a fairly new version of Test::More to work properly.
1 parent e0722d9 commit 7912f9b

21 files changed

+45
-76
lines changed

src/bin/initdb/t/001_initdb.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 14;
4+
use Test::More tests => 19;
55

66
my $tempdir = TestLib::tempdir;
77

src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use warnings;
33
use Cwd;
44
use TestLib;
5-
use Test::More tests => 28;
5+
use Test::More tests => 33;
66

77
program_help_ok('pg_basebackup');
88
program_version_ok('pg_basebackup');

src/bin/pg_basebackup/t/020_pg_receivexlog.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 3;
4+
use Test::More tests => 8;
55

66
program_help_ok('pg_receivexlog');
77
program_version_ok('pg_receivexlog');

src/bin/pg_config/t/001_pg_config.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 7;
4+
use Test::More tests => 20;
55

66
program_help_ok('pg_config');
77
program_version_ok('pg_config');

src/bin/pg_controldata/t/001_pg_controldata.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 6;
4+
use Test::More tests => 13;
55

66
my $tempdir = TestLib::tempdir;
77

src/bin/pg_ctl/t/001_start_stop.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 11;
4+
use Test::More tests => 16;
55

66
my $tempdir = TestLib::tempdir;
77
my $tempdir_short = TestLib::tempdir_short;

src/bin/scripts/t/010_clusterdb.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 6;
4+
use Test::More tests => 13;
55

66
program_help_ok('clusterdb');
77
program_version_ok('clusterdb');

src/bin/scripts/t/011_clusterdb_all.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 1;
4+
use Test::More tests => 2;
55

66
my $tempdir = tempdir;
77
start_test_server $tempdir;

src/bin/scripts/t/020_createdb.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 6;
4+
use Test::More tests => 13;
55

66
program_help_ok('createdb');
77
program_version_ok('createdb');

src/bin/scripts/t/030_createlang.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use strict;
22
use warnings;
33
use TestLib;
4-
use Test::More tests => 6;
4+
use Test::More tests => 14;
55

66
program_help_ok('createlang');
77
program_version_ok('createlang');

0 commit comments

Comments
 (0)