Remove trailing spaces (#665)

* Remove trailing spaces

* PR-665 -  Remove trailing spaces

- Updated not stable test t/pt-online-schema-change/preserve_triggers.t
- Updated utilities in bin directory

* PR-665 -  Remove trailing spaces

- Fixed typos

* PR-665 -  Remove trailing spaces

- Fixed typos

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
This commit is contained in:
Viktor Szépe
2023-09-06 00:15:12 +02:00
committed by GitHub
parent 8bf97c9ca7
commit 2bd40d8c39
570 changed files with 5557 additions and 5557 deletions

View File

@@ -152,7 +152,7 @@ sub output {
my $output = '';
{
if ( $file ) {
if ( $file ) {
open *output_fh, '>', $file
or die "Cannot open file $file: $OS_ERROR";
}
@@ -400,7 +400,7 @@ sub test_log_parser {
misc => $args{misc},
oktorun => $args{oktorun},
);
while ( my $e = $p->parse_event(%parser_args) ) {
while ( my $e = $p->parse_event(%parser_args) ) {
push @e, $e;
}
close $fh;
@@ -637,7 +637,7 @@ sub no_diff {
# diff returns 0 if there were no differences,
# so !0 = 1 = no diff in our testing parlance.
$retval = $retval >> 8;
$retval = $retval >> 8;
if ( $retval ) {
if ( $ENV{UPDATE_SAMPLES} || $args{update_sample} ) {
@@ -653,7 +653,7 @@ sub no_diff {
if ( $res_file ne $tmp_file ) {
unlink $res_file if -f $res_file;
}
if ( $cmp_file ne $expected_output ) {
unlink $cmp_file if -f $cmp_file;
}
@@ -802,7 +802,7 @@ sub full_output {
unlink $file;
unlink $file2;
return ($output, $status);
}