mirror of
https://github.com/coturn/coturn.git
synced 2025-12-25 09:51:37 +01:00
Add autopkgtest
This commit is contained in:
parent
e932875ca4
commit
a9e29530e9
3
debian/tests/control
vendored
Normal file
3
debian/tests/control
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
Depends: @
|
||||
Restrictions: needs-root, allow-stderr, isolation-container
|
||||
Tests: coturn
|
||||
10
debian/tests/coturn
vendored
Normal file
10
debian/tests/coturn
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
cp debian/tests/turnserver.conf /etc/turnserver.conf
|
||||
cp examples/var/db/turndb /var/lib/turn/turndb
|
||||
systemctl restart coturn
|
||||
sleep 3
|
||||
/usr/share/coturn/examples/scripts/longtermsecure/secure_udp_c2c.sh
|
||||
/usr/share/coturn/examples/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh
|
||||
15
debian/tests/turnserver.conf
vendored
Normal file
15
debian/tests/turnserver.conf
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
verbose
|
||||
syslog
|
||||
listening-ip=127.0.0.1
|
||||
listening-ip=::1
|
||||
relay-ip=127.0.0.1
|
||||
relay-ip=::1
|
||||
min-port=32355
|
||||
max-port=65535
|
||||
relay-threads=3
|
||||
max-bps=3000000
|
||||
fingerprint
|
||||
no-tls
|
||||
no-dtls
|
||||
no-auth
|
||||
db=/var/lib/turn/turndb
|
||||
Loading…
x
Reference in New Issue
Block a user