This is an automated email from the ASF dual-hosted git repository.
heybales pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/develop by this push:
new 7f5449b GEODE-6480: break so that options are passed on (#66)
7f5449b is described below
commit 7f5449b54af015172ed54eb314145a3e8597c2d5
Author: Helena Bales <[email protected]>
AuthorDate: Mon Mar 11 09:43:16 2019 -0700
GEODE-6480: break so that options are passed on (#66)
break out of the case statement so that options after '--' when running
tests and running against the baseline are passed on to gradle.
---
infrastructure/scripts/aws/destroy_cluster.sh | 4 ++--
infrastructure/scripts/aws/launch_cluster.sh | 2 +-
infrastructure/scripts/aws/run_against_baseline.sh | 2 +-
infrastructure/scripts/aws/run_tests.sh | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/infrastructure/scripts/aws/destroy_cluster.sh
b/infrastructure/scripts/aws/destroy_cluster.sh
index 12006d6..b6cafec 100755
--- a/infrastructure/scripts/aws/destroy_cluster.sh
+++ b/infrastructure/scripts/aws/destroy_cluster.sh
@@ -35,7 +35,7 @@ while :; do
CI=1
;;
-h|--help|-\? )
- echo "Usage: $(basename "$0") -t tag -c 4 [options ...] [-- arguments
...]"
+ echo "Usage: $(basename "$0") -t tag [options ...] [-- arguments ...]"
echo "Options:"
echo "-t|--tag : Cluster tag"
echo "--ci : Set if starting instances for Continuous Integration"
@@ -45,7 +45,7 @@ while :; do
;;
-- )
shift
- break
+ break 2
;;
-?* )
printf 'Invalid option: %s\n' "$1" >&2
diff --git a/infrastructure/scripts/aws/launch_cluster.sh
b/infrastructure/scripts/aws/launch_cluster.sh
index 57fce7f..13d6b33 100755
--- a/infrastructure/scripts/aws/launch_cluster.sh
+++ b/infrastructure/scripts/aws/launch_cluster.sh
@@ -58,7 +58,7 @@ while :; do
;;
-- )
shift
- break
+ break 2
;;
-?* )
printf 'Invalid option: %s\n' "$1" >&2
diff --git a/infrastructure/scripts/aws/run_against_baseline.sh
b/infrastructure/scripts/aws/run_against_baseline.sh
index db3fd17..52bc07a 100755
--- a/infrastructure/scripts/aws/run_against_baseline.sh
+++ b/infrastructure/scripts/aws/run_against_baseline.sh
@@ -129,7 +129,7 @@ while :; do
;;
-- )
shift
- break
+ break 2
;;
-?* )
printf 'Invalid option: %s\n' "$1" >&2
diff --git a/infrastructure/scripts/aws/run_tests.sh
b/infrastructure/scripts/aws/run_tests.sh
index 7a8bbfc..df00c22 100755
--- a/infrastructure/scripts/aws/run_tests.sh
+++ b/infrastructure/scripts/aws/run_tests.sh
@@ -104,7 +104,7 @@ while :; do
;;
-- )
shift
- break
+ break 2
;;
-?* )
printf 'Invalid option: %s\n' "$1" >&2