aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tests.sh')
-rwxr-xr-xscripts/tests.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index ffb5e7ef..7fb260bc 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -109,9 +109,18 @@ function run_eth()
sleep 2
}
+function check_eth() {
+ printTask "Running IPC tests with $ETH_PATH..."
+ if ! hash $ETH_PATH 2>/dev/null; then
+ printError "$ETH_PATH not found"
+ exit 1
+ fi
+}
+
if [ "$IPC_ENABLED" = true ];
then
download_eth
+ check_eth
ETH_PID=$(run_eth /tmp/test)
fi