From 7093cbcf30f8c547c044388f1dfb3f18538d56b2 Mon Sep 17 00:00:00 2001 From: Gary Belvin Date: Tue, 11 Jun 2019 16:55:37 +0100 Subject: [PATCH] Scripts may not be executable, invoke with bash --- integration/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/functions.sh b/integration/functions.sh index 4313888cb4..83d1067e91 100644 --- a/integration/functions.sh +++ b/integration/functions.sh @@ -122,7 +122,7 @@ log_prep_test() { go build ${GOFLAGS} github.com/google/trillian/server/trillian_log_signer/ # Wipe the test database - yes | "${TRILLIAN_PATH}/scripts/resetdb.sh" + yes | bash "${TRILLIAN_PATH}/scripts/resetdb.sh" local logserver_opts='' local logsigner_opts='' @@ -284,7 +284,7 @@ map_prep_test() { go build ${GOFLAGS} github.com/google/trillian/server/trillian_map_server/ # Wipe the test database - yes | "${TRILLIAN_PATH}/scripts/resetdb.sh" + yes | bash "${TRILLIAN_PATH}/scripts/resetdb.sh" # Start a set of Map RPC servers. for ((i=0; i < rpc_server_count; i++)); do