diff options
Diffstat (limited to 'src/tools')
-rwxr-xr-x | src/tools/add_commit_links.pl | 13 | ||||
-rw-r--r-- | src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl | 3 |
2 files changed, 9 insertions, 7 deletions
diff --git a/src/tools/add_commit_links.pl b/src/tools/add_commit_links.pl index 34c4d7ad898..710a6492032 100755 --- a/src/tools/add_commit_links.pl +++ b/src/tools/add_commit_links.pl @@ -62,8 +62,9 @@ sub process_file # skip over commit links because we will add them below next - if (!$in_comment && - m{^\s*<ulink url="&commit_baseurl;[[:xdigit:]]+">§</ulink>\s*$}); + if (!$in_comment + && m{^\s*<ulink url="&commit_baseurl;[[:xdigit:]]+">§</ulink>\s*$} + ); if ($in_comment && m/\[([[:xdigit:]]+)\]/) { @@ -73,10 +74,10 @@ sub process_file (!m/^Branch:/) && push(@hashes, $hash); # minor release item - m/^Branch:/ && - defined($major_version) && - m/_${major_version}_/ && - push(@hashes, $hash); + m/^Branch:/ + && defined($major_version) + && m/_${major_version}_/ + && push(@hashes, $hash); } if (!$in_comment && m{</para>}) diff --git a/src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl b/src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl index cbb5769d004..c329d7b06d4 100644 --- a/src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl +++ b/src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl @@ -49,7 +49,8 @@ while (my $test_src = glob("$src_dir/tests/*.0")) ], "pg_bsd_indent succeeds on $test"); # check result matches, adding any diff to $diffs_file - my $result = run_log([ 'diff', @diffopts, "$test_src.stdout", "$test.out" ], + my $result = + run_log([ 'diff', @diffopts, "$test_src.stdout", "$test.out" ], '>>', $diffs_file); ok($result, "pg_bsd_indent output matches for $test"); } |