aboutsummaryrefslogtreecommitdiff
path: root/autotests/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/run-tests.sh')
-rwxr-xr-xautotests/run-tests.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/autotests/run-tests.sh b/autotests/run-tests.sh
index a3ee2ade..05a215af 100755
--- a/autotests/run-tests.sh
+++ b/autotests/run-tests.sh
@@ -4,9 +4,7 @@ chmod 0777 data
rm ~/.local/share/testolmaccount -rf
docker run -v `pwd`/data:/data --rm \
-e SYNAPSE_SERVER_NAME=localhost -e SYNAPSE_REPORT_STATS=no matrixdotorg/synapse:latest generate
-pushd data
-. ../autotests/adjust-config.sh
-popd
+(cd data && . ../autotests/adjust-config.sh)
docker run -d \
--name synapse \
-p 1234:8008 \