This is an automated email from the ASF dual-hosted git repository.

smgoller 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 122df2a  Change bash tests to double brackets and fix baseline branch 
test. (#61)
122df2a is described below

commit 122df2a85e21ea449bdb7decfd81b25d04f874ec
Author: Sean Goller <[email protected]>
AuthorDate: Fri Mar 1 11:32:34 2019 -0800

    Change bash tests to double brackets and fix baseline branch test. (#61)
    
    Co-authored-by: Sean Goller <[email protected]>
    Co-authored-by: Nabarun Nag <[email protected]>
---
 infrastructure/scripts/aws/run_against_baseline.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure/scripts/aws/run_against_baseline.sh 
b/infrastructure/scripts/aws/run_against_baseline.sh
index 8ae35b2..1f12b77 100755
--- a/infrastructure/scripts/aws/run_against_baseline.sh
+++ b/infrastructure/scripts/aws/run_against_baseline.sh
@@ -104,7 +104,7 @@ if [ -z "${TAG}" ]; then
   exit 1
 fi
 
-if [ -z "${METADATA}" ]; then
+if [[ -z "${METADATA}" ]]; then
   METADATA="'geode branch':'${BRANCH}','geode version':'${VERSION}','baseline 
branch':'${BASELINE_BRANCH}','baseline 
version':'${BASELINE_VERSION}','benchmark branch':'${BENCHMARK_BRANCH}'"
 fi
 
@@ -115,7 +115,7 @@ if ! [[ "$OUTPUT" = /* ]]; then
   OUTPUT="$(pwd)/${OUTPUT}"
 fi
 
-if [ -z "${VERSION}" ]; then
+if [[ -z "${VERSION}" ]]; then
   ./run_tests.sh \
       -t ${TAG} \
       -r ${REPO} \
@@ -136,7 +136,7 @@ else
       -- "$@"
 fi
 
-if [ -z "${BENCHMARK_BRANCH}" ]; then
+if [[ -z "${BASELINE_BRANCH}" ]]; then
   ./run_tests.sh \
       -t ${TAG} \
       -v ${BASELINE_VERSION} \

Reply via email to