From 9c72c9b11d68cfd273e170107ba3abee4ffd04f4 Mon Sep 17 00:00:00 2001 From: bneradt Date: Sat, 17 Jun 2023 17:09:06 -0500 Subject: [PATCH] RAT license fix: renamed_records.out -> .gold MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the `make check` failure with the following output by changing to .gold which meets our license exclusion regex rules: Printing headers for text files without a valid license header... ===================================================== == File: ./tests/gold_tests/records/gold/renamed_records.out ===================================================== ``` ┌■ 8 Renamed records: └┬──» #1 : proxy.config.output.logfile -> proxy.config.output.logfile.name ├──» #2 : proxy.config.exec_thread.autoconfig -> proxy.config.exec_thread.autoconfig.enabled ├──» #3 : proxy.config.hostdb -> proxy.config.hostdb.enabled ├──» #4 : proxy.config.tunnel.prewarm -> proxy.config.tunnel.prewarm.enabled ├──» #5 : proxy.config.ssl.origin_session_cache -> proxy.config.ssl.origin_session_cache.enabled ├──» #6 : proxy.config.ssl.session_cache -> proxy.config.ssl.session_cache.value ├──» #7 : proxy.config.ssl.TLSv1_3 -> proxy.config.ssl.TLSv1_3.enabled └──» #8 : proxy.config.ssl.client.TLSv1_3 -> proxy.config.ssl.client.TLSv1_3.enabled ``` --- .../records/gold/{renamed_records.out => renamed_records.gold} | 0 tests/gold_tests/records/records_config_to_yaml.test.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/gold_tests/records/gold/{renamed_records.out => renamed_records.gold} (100%) diff --git a/tests/gold_tests/records/gold/renamed_records.out b/tests/gold_tests/records/gold/renamed_records.gold similarity index 100% rename from tests/gold_tests/records/gold/renamed_records.out rename to tests/gold_tests/records/gold/renamed_records.gold diff --git a/tests/gold_tests/records/records_config_to_yaml.test.py b/tests/gold_tests/records/records_config_to_yaml.test.py index 3472b2faa0b..ba293923e9c 100644 --- a/tests/gold_tests/records/records_config_to_yaml.test.py +++ b/tests/gold_tests/records/records_config_to_yaml.test.py @@ -38,7 +38,7 @@ tr.Setup.Copy(os.path.join(Test.Variables.RepoDir, "tools/records/convert2yaml.py")) tr.Setup.Copy('legacy_config/old_records.config') tr.Processes.Default.Command = f'python3 convert2yaml.py -f old_records.config --output generated{file_suffix}.yaml --yaml' -tr.Processes.Default.Stream = 'gold/renamed_records.out' +tr.Processes.Default.Stream = 'gold/renamed_records.gold' f = tr.Disk.File(f"generated{file_suffix}.yaml") f.Content = "gold/renamed_records.yaml"