From 5f9d4d60a92d74221c751f74fa5ae9422ccc803d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 7 Mar 2017 14:35:12 +0100 Subject: run-smoke-test: Let ERL_TOP default to current working directory --- scripts/run-smoke-tests | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/run-smoke-tests b/scripts/run-smoke-tests index c2333e7825..8912c419a4 100755 --- a/scripts/run-smoke-tests +++ b/scripts/run-smoke-tests @@ -1,6 +1,10 @@ #!/bin/bash set -ev +if [ -z "$ERL_TOP" ]; then + ERL_TOP=$(pwd) +fi + cd $ERL_TOP/release/tests/test_server $ERL_TOP/bin/erl -s ts install -s ts smoke_test batch -s init stop -- cgit v1.2.3