Skip to content

Commit

Permalink
Test::Quattor: temporarily add set_caf_file_close_diff (see #161)
Browse files Browse the repository at this point in the history
  • Loading branch information
stdweird committed Apr 17, 2017
1 parent 12d2c28 commit 919c283
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build-scripts/src/main/perl/Test/Quattor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ our @EXPORT = qw(get_command set_file_contents get_file_contents get_file
get_config_for_profile
command_history_reset command_history_ok set_service_variant
make_directory remove_any reset_caf_path warn_is_ok
dump_contents);
dump_contents set_caf_file_close_diff);

my @logopts = qw(--verbose);
my $debuglevel = $ENV{QUATTOR_TEST_LOG_DEBUGLEVEL};
Expand Down Expand Up @@ -1405,6 +1405,13 @@ sub dump_contents
&$log("${prefix}files_contents ", explain $fc);
}

## Temp hack: readd set_caf_file_close_diff as noop to resolve the new FileWriter/new
## build-tools mess for 17.3 release
## see #161
sub set_caf_file_close_diff
{
warn "deprecated set_caf_file_close_diff called; will be removed again";
}

1;

Expand Down

0 comments on commit 919c283

Please sign in to comment.