1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-23 20:11:17 +02:00

Fix duplicate TCP flag in run_tests.sh script (#971)

Typo that caused UDP test to actually run TCP
This commit is contained in:
Pavel Punsky 2022-09-04 05:56:10 -07:00 committed by GitHub
parent 8dab694478
commit 483c7223be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ echo 'Running peer client'
sleep 2 sleep 2
echo 'Running turn client TCP' echo 'Running turn client TCP'
../bin/turnutils_uclient -t -e 127.0.0.1 -X -g -u user -W secret -t 127.0.0.1 | grep "start_mclient: tot_send_bytes ~ 1000, tot_recv_bytes ~ 1000" > /dev/null ../bin/turnutils_uclient -t -e 127.0.0.1 -X -g -u user -W secret 127.0.0.1 | grep "start_mclient: tot_send_bytes ~ 1000, tot_recv_bytes ~ 1000" > /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo OK echo OK
else else
@ -17,7 +17,7 @@ else
fi fi
echo 'Running turn client UDP' echo 'Running turn client UDP'
../bin/turnutils_uclient -e 127.0.0.1 -X -g -u user -W secret -t 127.0.0.1 | grep "start_mclient: tot_send_bytes ~ 1000, tot_recv_bytes ~ 1000" > /dev/null ../bin/turnutils_uclient -e 127.0.0.1 -X -g -u user -W secret 127.0.0.1 | grep "start_mclient: tot_send_bytes ~ 1000, tot_recv_bytes ~ 1000" > /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo OK echo OK
else else