fix syntax errors in test.sh

This commit is contained in:
Aleksej 2022-06-13 22:29:53 +02:00
parent 19aa4e12d5
commit 22c80eaf54
No known key found for this signature in database
GPG Key ID: 4DB9C85100A6D17F

View File

@ -24,11 +24,11 @@ python3 testbot & TESTBOTPID=$!
sleep 10
# Wait certain amount of time for every test message in the file
for i in $(cat testmsgs); do sleep 5; done
for i in $(cat testmsgs.txt); do sleep 5; done
# Kill bots
kill XMPPMIRRORPID
kill TESTBOTPID
kill $XMPPMIRRORPID
kill $TESTBOTPID
# Stop and remove containter
docker stop xmppbot-test