From 5ecb607c9d0233c27d1fe761fa20d1f1a2fa127e Mon Sep 17 00:00:00 2001 From: Nicholas Walter Knize Date: Fri, 19 Mar 2021 16:53:23 -0500 Subject: [PATCH] [Rename] OpenSearch in build-tools Signed-off-by: Nicholas Walter Knize --- .../InternalDistributionArchiveCheckPluginFuncTest.groovy | 2 +- distribution/packages/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy b/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy index 3f9f45a4130b3..4f3e98d04f3d3 100644 --- a/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy +++ b/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy @@ -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]") } diff --git a/distribution/packages/build.gradle b/distribution/packages/build.gradle index 3892298e93772..1fbd5d61feaa5 100644 --- a/distribution/packages/build.gradle +++ b/distribution/packages/build.gradle @@ -486,7 +486,7 @@ subprojects { } doLast { final List 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) } }