From f8358fa4d0dfeb29057bbd74a4be6349e9285e13 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 9 Oct 2019 17:37:41 +0200 Subject: [PATCH] make e2e test safe to run from anywhere --- test/end-to-end-tests/run.sh | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 test/end-to-end-tests/run.sh diff --git a/test/end-to-end-tests/run.sh b/test/end-to-end-tests/run.sh old mode 100755 new mode 100644 index 0498d8197d..162ce461ec --- a/test/end-to-end-tests/run.sh +++ b/test/end-to-end-tests/run.sh @@ -1,6 +1,8 @@ #!/bin/bash set -e +BASE_DIR=$(cd $(dirname $0) && pwd) +pushd $BASE_DIR has_custom_riot=$(node has_custom_riot.js $@) stop_servers() {