diff options
author | Björn Gustavsson <[email protected]> | 2017-03-07 14:35:12 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-03-08 14:30:00 +0100 |
commit | 5f9d4d60a92d74221c751f74fa5ae9422ccc803d (patch) | |
tree | 7c3087349fe8a87113a642b181f9bed19fef4cf0 /scripts | |
parent | 247412294cbd04ecbd9680646b16d08f53255caa (diff) | |
download | otp-5f9d4d60a92d74221c751f74fa5ae9422ccc803d.tar.gz otp-5f9d4d60a92d74221c751f74fa5ae9422ccc803d.tar.bz2 otp-5f9d4d60a92d74221c751f74fa5ae9422ccc803d.zip |
run-smoke-test: Let ERL_TOP default to current working directory
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-smoke-tests | 4 |
1 files changed, 4 insertions, 0 deletions
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 |