[Rename] OpenSearch in build-tools
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
This commit is contained in:
parent
90fef184db
commit
5ecb607c9d
|
@ -97,7 +97,7 @@ Copyright 2009-2018 Acme Coorp"""
|
|||
then:
|
||||
result.task(":darwin-tar:checkNotice").outcome == TaskOutcome.FAILED
|
||||
normalizedOutput(result.output).contains("> expected line [2] in " +
|
||||
"[./darwin-tar/build/tar-extracted/elasticsearch-${VersionProperties.getElasticsearch()}/NOTICE.txt] " +
|
||||
"[./darwin-tar/build/tar-extracted/opensearch-${VersionProperties.getOpenSearch()}/NOTICE.txt] " +
|
||||
"to be [Copyright 2021 OpenSearch Contributors] but was [Copyright 2009-2018 Acme Coorp]")
|
||||
}
|
||||
|
||||
|
|
|
@ -486,7 +486,7 @@ subprojects {
|
|||
}
|
||||
doLast {
|
||||
final List<String> noticeLines = Arrays.asList("OpenSearch", "Copyright 2021 OpenSearch Contributors")
|
||||
final Path noticePath = packageExtractionDir.toPath().resolve("usr/share/elasticsearch/NOTICE.txt")
|
||||
final Path noticePath = packageExtractionDir.toPath().resolve("usr/share/opensearch/NOTICE.txt")
|
||||
assertLinesInFile(noticePath, noticeLines)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue