mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-29 11:56:37 -05:00
* Switched on Dht "Attach" Mode if RS is firewalled. (and not nice firewall).
* Added interfaces to enable AttachMode switch. * Added further tcponudp tests. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4484 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f6002b3981
commit
b56ddfeb5b
10 changed files with 445 additions and 11 deletions
20
libretroshare/src/tests/tcponudp/timed_tou.sh
Executable file
20
libretroshare/src/tests/tcponudp/timed_tou.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#/bin/sh
|
||||
# Script to Test the udp_server code.
|
||||
|
||||
EXEC=./timed_tou
|
||||
DATAFILE=./timed_tou
|
||||
|
||||
TMPOUTPUT=tmpoutput$$
|
||||
EXPECTEDPERIOD=10
|
||||
|
||||
$EXEC 127.0.0.1 4401 127.0.0.1 4032 < $DATAFILE > $TMPOUTPUT
|
||||
|
||||
if diff -s $DATAFILE $TMPOUTPUT
|
||||
then
|
||||
echo "SUCCESS"
|
||||
else
|
||||
echo "FAILURE to accurately transfer DATA"
|
||||
fi
|
||||
|
||||
rm $TMPOUTPUT
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue