Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix file endings for smoke tester

Houston Putman09f9549a8e35
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index 5edf5d5ff99..ea1ccf07b5b 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -568,10 +568,10 @@ def verifyUnpacked(java, artifact, unpackPath, gitRevision, version, testArgs):
in_solr_folder = []
if isSrc:
in_solr_folder.extend(os.listdir(os.path.join(unpackPath, 'solr')))
- is_in_list(in_root_folder, ['LICENSE', 'NOTICE', 'README'])
- is_in_list(in_solr_folder, ['CHANGES', 'README'])
+ is_in_list(in_root_folder, ['LICENSE.txt', 'NOTICE.txt', 'README.txt'])
+ is_in_list(in_solr_folder, ['CHANGES.txt', 'README.adoc'])
else:
- is_in_list(in_root_folder, ['LICENSE', 'NOTICE', 'README', 'CHANGES'])
+ is_in_list(in_root_folder, ['LICENSE.txt', 'NOTICE.txt', 'README.txt', 'CHANGES.txt'])
if SOLR_NOTICE is None:
SOLR_NOTICE = open('%s/NOTICE.txt' % unpackPath, encoding='UTF-8').read()