From ee2baf8025939bbaa518b4d8fa66b6bb92ccbfea Mon Sep 17 00:00:00 2001 From: dlorenc Date: Wed, 9 Jan 2019 09:34:01 -0800 Subject: [PATCH] Set the absolute path of the integration-test.sh script. (#512) Kokoro runs with a working directory outside of the repo. --- benchmark.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 benchmark.sh diff --git a/benchmark.sh b/benchmark.sh old mode 100644 new mode 100755 index 2c7b8d035..c5e402180 --- a/benchmark.sh +++ b/benchmark.sh @@ -14,5 +14,7 @@ #!/bin/bash set -ex +script_name=$0 +script_full_path=$(dirname "$0") export BENCHMARK=true -./integration-test.sh +./${script_full_path}/integration-test.sh