Browse code

core - test: reorganized the old files in test folder

- moved to subfolders in test/misc
- keep content of the test folder cleaner for travis and unit tests

Daniel-Constantin Mierla authored on 26/11/2015 22:30:51
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,33 +0,0 @@
1
-#
2
-# configuration for stress testing
3
-#
4
-#
5
-
6
-
7
-#debug=3          # debug level (cmd line: -dddddddddd)
8
-#fork=yes          # (cmd. line: -D)
9
-#fork=no
10
-#log_stderror=yes # (cmd line: -E)
11
-#log_stderror=no	# (cmd line: -E)
12
-
13
-
14
-#children=8
15
-check_via=no     # (cmd. line: -v)
16
-dns=no          # (cmd. line: -r)
17
-rev_dns=no      # (cmd. line: -R)
18
-mem_log=0
19
-#port=5070
20
-#listen=127.0.0.1
21
-#listen=195.37.77.101
22
-# for more info: sip_router -h
23
-
24
-#modules
25
-#loadmodule "modules/print/print.so"
26
-loadmodule "modules/tm/tm.so"
27
-#loadmodule "modules/rr/rr.so"
28
-#loadmodule "modules/maxfwd/maxfwd.so"
29
-
30
-
31
-route{
32
-             t_relay();
33
-}
Browse code

test: Remove SVN ID's

Olle E. Johansson authored on 07/03/2015 19:43:49
Showing 1 changed files
... ...
@@ -1,7 +1,6 @@
1 1
 #
2 2
 # configuration for stress testing
3 3
 #
4
-# $Id$
5 4
 #
6 5
 
7 6
 
Browse code

- warning and fixes (cfg.y $$=0 on error) merged from testing-0.8.12-r1 - pdt and mangler are now built by default (Makefile)

Andrei Pelinescu-Onciul authored on 20/11/2003 21:01:10
Showing 1 changed files
... ...
@@ -16,6 +16,7 @@
16 16
 check_via=no     # (cmd. line: -v)
17 17
 dns=no          # (cmd. line: -r)
18 18
 rev_dns=no      # (cmd. line: -R)
19
+mem_log=0
19 20
 #port=5070
20 21
 #listen=127.0.0.1
21 22
 #listen=195.37.77.101
Browse code

- sun cc compile fixes (all the files not mentioned explicitly) - fixed a bug in build_res_buf_with_body_from_sip_req (bad len computations when via was not crlf terminated, e.g only lf) - Makefile.def: sun cc modules compilations options updated (it seems tm uses too many symbols for the default small memory model) - lock_ops.h: lock set support added also for PTHREAD_MUTEX & POSIX_SEM - route.c: updated to the new module exports format - sr_module.[hc]: changed module exports interface: added struct cmd_export and param_export, updated find_export, find_export_param, find_module

Andrei Pelinescu-Onciul authored on 10/03/2003 22:24:14
Showing 1 changed files
... ...
@@ -5,10 +5,10 @@
5 5
 #
6 6
 
7 7
 
8
-debug=3          # debug level (cmd line: -dddddddddd)
8
+#debug=3          # debug level (cmd line: -dddddddddd)
9 9
 #fork=yes          # (cmd. line: -D)
10 10
 #fork=no
11
-log_stderror=yes # (cmd line: -E)
11
+#log_stderror=yes # (cmd line: -E)
12 12
 #log_stderror=no	# (cmd line: -E)
13 13
 
14 14
 
Browse code

- added new_hash2 (faster & better distrib. hash) - added rev . dns startup interface ip lookups (aliases) - lots of cleanups

Andrei Pelinescu-Onciul authored on 22/10/2002 20:37:29
Showing 1 changed files
... ...
@@ -5,7 +5,7 @@
5 5
 #
6 6
 
7 7
 
8
-debug=1          # debug level (cmd line: -dddddddddd)
8
+debug=3          # debug level (cmd line: -dddddddddd)
9 9
 #fork=yes          # (cmd. line: -D)
10 10
 #fork=no
11 11
 log_stderror=yes # (cmd line: -E)
Browse code

- re-added -DDNS_IP_HACK - use gethostbyname on sun ipv4 instead of getipnodebyname (which has memroy leaks on unpatched solaris 8 instalations) - removed UNT_MAX comparison in tm.c - updated perf. results

Andrei Pelinescu-Onciul authored on 23/09/2002 16:39:02
Showing 1 changed files
... ...
@@ -23,7 +23,7 @@ rev_dns=no      # (cmd. line: -R)
23 23
 
24 24
 #modules
25 25
 #loadmodule "modules/print/print.so"
26
-#loadmodule "modules/tm/tm.so"
26
+loadmodule "modules/tm/tm.so"
27 27
 #loadmodule "modules/rr/rr.so"
28 28
 #loadmodule "modules/maxfwd/maxfwd.so"
29 29
 
Browse code

- perf. optimized makefile

Andrei Pelinescu-Onciul authored on 23/09/2002 11:46:11
Showing 1 changed files
... ...
@@ -23,7 +23,7 @@ rev_dns=no      # (cmd. line: -R)
23 23
 
24 24
 #modules
25 25
 #loadmodule "modules/print/print.so"
26
-loadmodule "modules/tm/tm.so"
26
+#loadmodule "modules/tm/tm.so"
27 27
 #loadmodule "modules/rr/rr.so"
28 28
 #loadmodule "modules/maxfwd/maxfwd.so"
29 29
 
Browse code

cleanups

Jiri Kuthan authored on 21/09/2002 08:04:25
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 #
2
-# configuration for TurboSIP testing
2
+# configuration for stress testing
3 3
 #
4
-# $ID: $
4
+# $Id$
5 5
 #
6 6
 
7 7
 
Browse code

- changed makefile for performance & updated perf. tests cfgs

Andrei Pelinescu-Onciul authored on 20/09/2002 18:21:39
Showing 1 changed files
... ...
@@ -7,57 +7,27 @@
7 7
 
8 8
 debug=1          # debug level (cmd line: -dddddddddd)
9 9
 #fork=yes          # (cmd. line: -D)
10
-fork=no
10
+#fork=no
11 11
 log_stderror=yes # (cmd line: -E)
12 12
 #log_stderror=no	# (cmd line: -E)
13 13
 
14 14
 
15
-children=8
15
+#children=8
16 16
 check_via=no     # (cmd. line: -v)
17 17
 dns=no          # (cmd. line: -r)
18 18
 rev_dns=no      # (cmd. line: -R)
19 19
 #port=5070
20
-listen=127.0.0.1
20
+#listen=127.0.0.1
21 21
 #listen=195.37.77.101
22
-loop_checks=0
23 22
 # for more info: sip_router -h
24 23
 
25 24
 #modules
26 25
 #loadmodule "modules/print/print.so"
27 26
 loadmodule "modules/tm/tm.so"
28
-loadmodule "modules/rr/rr.so"
29
-loadmodule "modules/maxfwd/maxfwd.so"
27
+#loadmodule "modules/rr/rr.so"
28
+#loadmodule "modules/maxfwd/maxfwd.so"
30 29
 
31 30
 
32 31
 route{
33
-             if ( mf_is_maxfwd_present() )
34
-             {
35
-                   if ( !mf_decrement_maxfwd() )
36
-                   {
37
-                     log("SER : unable to decrement MAX_FORWARD!\n");
38
-                   };
39
-                   if ( mf_is_maxfwd_zero() )
40
-                   {
41
-                     log("SER: MAX FORWARD header is zero\n");
42
-                     drop();
43
-                   };
44
-             }else{
45
-                   mf_add_maxfwd_header( "10" );
46
-             };
47
-
48
-             #if ( !rewriteFromRoute() )
49
-             #{
50
-                log( " SER : no route found!\n");
51
-               # if ( method=="INVITE" )
52
-               # {
53
-                   #log ("SER : INVITE found - > adding RecordRoute!\n");
54
-                   #addRecordRoute();
55
-                #};
56
-             #}
57
-             #else
58
-             #{
59
-             #   log( "SER : ROUTE found! \n");
60
-             #};
61
-
62 32
              t_relay();
63 33
 }
Browse code

- new test cfgs - makefile w/ gcc-3.0 optimizations

Andrei Pelinescu-Onciul authored on 31/01/2002 19:08:23
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,63 @@
1
+#
2
+# configuration for TurboSIP testing
3
+#
4
+# $ID: $
5
+#
6
+
7
+
8
+debug=1          # debug level (cmd line: -dddddddddd)
9
+#fork=yes          # (cmd. line: -D)
10
+fork=no
11
+log_stderror=yes # (cmd line: -E)
12
+#log_stderror=no	# (cmd line: -E)
13
+
14
+
15
+children=8
16
+check_via=no     # (cmd. line: -v)
17
+dns=no          # (cmd. line: -r)
18
+rev_dns=no      # (cmd. line: -R)
19
+#port=5070
20
+listen=127.0.0.1
21
+#listen=195.37.77.101
22
+loop_checks=0
23
+# for more info: sip_router -h
24
+
25
+#modules
26
+#loadmodule "modules/print/print.so"
27
+loadmodule "modules/tm/tm.so"
28
+loadmodule "modules/rr/rr.so"
29
+loadmodule "modules/maxfwd/maxfwd.so"
30
+
31
+
32
+route{
33
+             if ( mf_is_maxfwd_present() )
34
+             {
35
+                   if ( !mf_decrement_maxfwd() )
36
+                   {
37
+                     log("SER : unable to decrement MAX_FORWARD!\n");
38
+                   };
39
+                   if ( mf_is_maxfwd_zero() )
40
+                   {
41
+                     log("SER: MAX FORWARD header is zero\n");
42
+                     drop();
43
+                   };
44
+             }else{
45
+                   mf_add_maxfwd_header( "10" );
46
+             };
47
+
48
+             #if ( !rewriteFromRoute() )
49
+             #{
50
+                log( " SER : no route found!\n");
51
+               # if ( method=="INVITE" )
52
+               # {
53
+                   #log ("SER : INVITE found - > adding RecordRoute!\n");
54
+                   #addRecordRoute();
55
+                #};
56
+             #}
57
+             #else
58
+             #{
59
+             #   log( "SER : ROUTE found! \n");
60
+             #};
61
+
62
+             t_relay();
63
+}