make e2e test safe to run from anywhere

pull/21833/head
Bruno Windels 2019-10-09 17:37:41 +02:00
parent 59cc36ca65
commit f8358fa4d0
1 changed files with 2 additions and 0 deletions

2
test/end-to-end-tests/run.sh Executable file → Normal file
View File

@ -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() {