summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcvs2git <>2008-11-03 10:34:55 +0000
committercvs2git <>2008-11-03 10:34:55 +0000
commit35dbfb637b9bb111194c789c74b044f450811a62 (patch)
tree6708d95bbfd066bb0900d06bfd2f6661b0e8c6e6 /tests
parentff6c0339c13a6b42149ba91da14dbb824307cea7 (diff)
This commit was manufactured by cvs2svn to create tagOPENTRACKER_WITH_BATCHSYNC
'OPENTRACKER_WITH_BATCHSYNC'. Sprout from master 2008-11-03 10:34:54 UTC erdgeist 'Bugfix: Number of Pools << Number of Buckets' Delete: opentracker.xcodeproj/project.pbxproj tests/testsuite.sh tests/testsuite2.sh
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.sh17
-rw-r--r--tests/testsuite2.sh14
2 files changed, 0 insertions, 31 deletions
diff --git a/tests/testsuite.sh b/tests/testsuite.sh
deleted file mode 100644
index b07546d..0000000
--- a/tests/testsuite.sh
+++ /dev/null
@@ -1,17 +0,0 @@
1#!/bin/sh
2
3while true; do
4 request_string="GET /announce?info_hash=\
5%$(printf %02X $(( $RANDOM & 0xff )) )\
6%$(printf %02X $(( $RANDOM & 0xff )) )\
72345678901234567\
8%$(printf %02X $(( $RANDOM & 0xff )) )\
9%$(printf %02X $(( $RANDOM & 0xff )) )\
10&ip=$(( $RANDOM & 0xff )).17.13.15&port=$(( $RANDOM & 0xff )) HTTP/1.0\n"
11
12# echo $request_string
13# echo
14 echo $request_string | nc 127.0.0.1 6969 >/dev/null
15# echo
16
17done
diff --git a/tests/testsuite2.sh b/tests/testsuite2.sh
deleted file mode 100644
index 5189187..0000000
--- a/tests/testsuite2.sh
+++ /dev/null
@@ -1,14 +0,0 @@
1#!/bin/sh
2
3while true; do
4 request_string="GET /announce?info_hash=012345678901234567\
5%$(printf %02X $(( $RANDOM & 0xff )) )\
6%$(printf %02X $(( $RANDOM & 0xff )) )\
7&ip=$(( $RANDOM & 0xff )).17.13.15&port=$(( $RANDOM & 0xff )) HTTP/1.0\n"
8
9 echo $request_string
10 echo
11 echo $request_string | nc 10.0.1.3 6969 >/dev/null
12 echo
13
14done