tests: include test http.server.log in the test's tmp dir

This commit is contained in:
Hans-Christoph Steiner 2020-12-10 08:48:10 +01:00
parent 54e8867a7e
commit 9cfd12f9ed

View file

@ -1266,7 +1266,7 @@ if which wget; then
mv $REPOROOT/index-v1.json repo/index-v1.json mv $REPOROOT/index-v1.json repo/index-v1.json
port=321${RANDOM:3} port=321${RANDOM:3}
timeout 5m python3 -m http.server $port --bind 127.0.0.1 > http.server.log 2>&1 & timeout 5m python3 -m http.server $port --bind 127.0.0.1 > $REPOROOT/http.server.log 2>&1 &
http_server_pid=$! http_server_pid=$!
cd $REPOROOT cd $REPOROOT