You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2024/07/21 07:15:44 UTC
(solr) branch branch_9x updated (f9c8b591c98 -> 42eedde0459)
This is an automated email from the ASF dual-hosted git repository.
epugh pushed a change to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
from f9c8b591c98 Update io.dropwizard.metrics:* to v4.2.26 (#2520)
new 2b972020ae9 Update to match SolrCLI.printToolHelp formatting rules (#2573)
new 42eedde0459 update to support current usage formatting
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
solr/packaging/test/test_help.bats | 10 +++++-----
solr/packaging/test/test_post.bats | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
(solr) 02/02: update to support current usage formatting
Posted by ep...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
commit 42eedde0459fa321d584377eae86ab011bf6a2e1
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Sun Jul 21 09:15:35 2024 +0200
update to support current usage formatting
---
solr/packaging/test/test_help.bats | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/packaging/test/test_help.bats b/solr/packaging/test/test_help.bats
index ca64b4da9e9..9c644990482 100644
--- a/solr/packaging/test/test_help.bats
+++ b/solr/packaging/test/test_help.bats
@@ -52,7 +52,7 @@ setup() {
@test "healthcheck help flag prints help" {
run solr healthcheck --help
- assert_output --partial 'usage: bin/solr healthcheck'
+ assert_output --partial 'Usage: solr healthcheck'
refute_output --partial 'ERROR'
}
(solr) 01/02: Update to match SolrCLI.printToolHelp formatting rules (#2573)
Posted by ep...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
commit 2b972020ae91a9622e39ca5d12af93d1e2562bc8
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Sat Jul 20 19:26:08 2024 +0200
Update to match SolrCLI.printToolHelp formatting rules (#2573)
---
solr/packaging/test/test_help.bats | 12 ++++++------
solr/packaging/test/test_post.bats | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/solr/packaging/test/test_help.bats b/solr/packaging/test/test_help.bats
index 3f57970d745..ca64b4da9e9 100644
--- a/solr/packaging/test/test_help.bats
+++ b/solr/packaging/test/test_help.bats
@@ -52,25 +52,25 @@ setup() {
@test "healthcheck help flag prints help" {
run solr healthcheck --help
- assert_output --partial 'Usage: solr healthcheck'
+ assert_output --partial 'usage: bin/solr healthcheck'
refute_output --partial 'ERROR'
}
@test "create help flag prints help" {
run solr create --help
- assert_output --partial 'usage: create'
+ assert_output --partial 'usage: bin/solr create'
refute_output --partial 'ERROR'
}
@test "delete help flag prints help" {
run solr delete -h
- assert_output --partial 'usage: delete'
+ assert_output --partial 'usage: bin/solr delete'
refute_output --partial 'ERROR'
}
@test "version help flag prints help" {
run solr version -h
- assert_output --partial 'usage: version'
+ assert_output --partial 'usage: bin/solr version'
refute_output --partial 'ERROR'
}
@@ -88,12 +88,12 @@ setup() {
@test "assert help flag prints help" {
run solr assert --help
- assert_output --partial 'usage: assert'
+ assert_output --partial 'usage: bin/solr assert'
refute_output --partial 'ERROR'
}
@test "post help flag prints help" {
run solr post --help
- assert_output --partial 'usage: post'
+ assert_output --partial 'usage: bin/solr post'
refute_output --partial 'ERROR'
}
diff --git a/solr/packaging/test/test_post.bats b/solr/packaging/test/test_post.bats
index 023cefa5a66..bb9b2e6cb1a 100644
--- a/solr/packaging/test/test_post.bats
+++ b/solr/packaging/test/test_post.bats
@@ -42,11 +42,11 @@ teardown() {
assert_output --partial 'Must specify either --solr-update-url or -c parameter'
run solr post -h
- assert_output --partial 'usage: post'
+ assert_output --partial 'usage: bin/solr post'
refute_output --partial 'ERROR'
run solr post --help
- assert_output --partial 'usage: post'
+ assert_output --partial 'usage: bin/solr post'
refute_output --partial 'ERROR'
}