Explorar o código

test/ : typos

Дилян Палаузов %!s(int64=2) %!d(string=hai) anos
pai
achega
039cce694a

+ 1 - 1
test/misc/cfg/mobile61.cfg

@@ -6,7 +6,7 @@ route{
 				forward(centauri.fokus.gmd.de);
 	src_ip=~"^192\.168\.[0-9]{1,3}\.[0-9]{1,3}$"  \
 				log(1, "msg. from a private network\n"); route(1);
-	src_ip==0.0.0.0/0   log(1, " droping msg\n"); drop;
+	src_ip==0.0.0.0/0   log(1, " dropping msg\n"); drop;
 }
 
 route[1]{

+ 4 - 4
test/misc/cfg/nc.cfg

@@ -14,11 +14,11 @@ loadmodule "/home/srouter/sip_router/modules/textops/textops.so"
 
 route {
 	if (!search("^(From|f)\:.*sip\:[0-9]+@")) {
-		  log(1, " From non-nummerical\n");
-          sl_send_reply("400", "entry nummerical from check failed\n");
+		  log(1, " From non-numerical\n");
+          sl_send_reply("400", "entry numerical from check failed\n");
           break;
     };
-    log(1, " From nummerical\n");
-    sl_send_reply("200", "entry nummerical from check ok\n");
+    log(1, " From numerical\n");
+    sl_send_reply("200", "entry numerical from check ok\n");
 }
 

+ 1 - 1
test/misc/cfg/struas.cfg

@@ -36,6 +36,6 @@ route{
 		sl_send_reply("200", "glad to cancel");
 		break;
 	};
-	sl_send_reply("180", "Jinggle Bells");
+	sl_send_reply("180", "Jingle Bells");
 }
 

+ 1 - 1
test/misc/cfg/test1.cfg

@@ -20,7 +20,7 @@ route{
 	( uri=~"test\n" &  ! src_ip=~"dorian") forward(dorian.fokus.gmd.de);
 
 	(src_ip==192.168.0.0/255.255.0.0 or dst_ip==127.0.0.1 and uri=~"s$") \
-		error("440", "not forwarding"); log(2, "droping..."); drop;
+		error("440", "not forwarding"); log(2, "dropping..."); drop;
 
 	src_ip==127.0.0.1 route(3); drop;
 }

+ 1 - 1
test/misc/cfg/use_jab.cfg

@@ -46,7 +46,7 @@ route{
 /*
 	if (method=="INVITE")
 	{
-		log("SER : runing CPL!! :)\n");
+		log("SER : running CPL!! :)\n");
 		if ( !cpl_run_script() )
 		{
 			log("SER : Error during running CPL script!\n");

+ 1 - 1
test/misc/code/atomic_test.c

@@ -1,7 +1,7 @@
 /*
  *
  *  simple atomic ops testing program
- *  (no paralel stuff, just see if the opcodes are "legal")
+ *  (no parallel stuff, just see if the opcodes are "legal")
  * 
  *  Compile with: gcc -Wall -O3 -D__CPU_i386  on x86 machines
  *                gcc -Wall -O3 -D__CPU_x86_64 on amd64 machines

+ 1 - 1
test/misc/code/atomic_test2.c

@@ -1,7 +1,7 @@
 /*
  *
  *  simple atomic ops testing program
- *  (no paralel stuff, just see if the opcodes are "legal")
+ *  (no parallel stuff, just see if the opcodes are "legal")
  *
  *  Defines: TYPE - not defined => use atomic_t and the corresponding
  *                  atomic functions

+ 1 - 1
test/misc/code/basex.c

@@ -348,7 +348,7 @@ int main(int argc, char** argv)
 				c_len= min_len+(int)((float)(max_len-min_len+1)*
 											(rand()/(RAND_MAX+1.0)));
 			else 
-				/* test encode /decode random data w/ fixed lenght*/
+				/* test encode /decode random data w/ fixed length*/
 				c_len=max_len;
 			if (offset==-1)
 				/* offset between 0 & MIN(clen,3) */

+ 1 - 1
test/misc/code/shoot.c

@@ -1,6 +1,6 @@
 /*
 shot written by ashhar farhan, is not bound by any licensing at all.
-you are free to use this code as you deem fit. just dont blame the author
+you are free to use this code as you deem fit. Just don't blame the author
 for any problems you may have using it.
 bouquets and brickbats to [email protected]
  */

+ 1 - 1
test/misc/code/shoot2.c

@@ -1,6 +1,6 @@
 /*
 shot written by ashhar farhan, is not bound by any licensing at all.
-you are free to use this code as you deem fit. just dont blame the author
+you are free to use this code as you deem fit. Just don't blame the author
 for any problems you may have using it.
 bouquets and brickbats to [email protected]
  */

+ 3 - 3
test/misc/code/udp.c

@@ -49,7 +49,7 @@
 
 /*
 shot written by ashhar farhan, is not bound by any licensing at all.
-you are free to use this code as you deem fit. just dont blame the author
+you are free to use this code as you deem fit. Just don't blame the author
 for any problems you may have using it.
 bouquets and brickbats to [email protected]
 */
@@ -133,7 +133,7 @@ void shoot()
 	addr.sin_port = htons((short)888);
 	addr.sin_family = AF_INET;
 
-	/* if we dont connect, even on Linux, nothing will happen */
+	/* if we don't connect, even on Linux, nothing will happen */
 
 #ifdef CONNECTED	
 	/* we connect as per the RFC 2543 recommendations
@@ -158,7 +158,7 @@ void shoot()
 		/* lets fire the request to the server and store when we did */
 
 		/* if we send too fast, ICMP will arrive back when we are already
-		   done and we wont be able to recognize an error
+		   done and we won't be able to recognize an error
 		*/
 #ifdef CONNECTED
 		ret = send(sock, buff, strlen(buff), 0);

+ 1 - 1
test/misc/extra/gcc_version.sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 
 #
-# wrapper arroung gcc, that intercepts --version and reports instead
+# wrapper around gcc, that intercepts --version and reports instead
 # $GCC_VERSION
 #
 

+ 4 - 4
test/unit/5.cfg

@@ -4,7 +4,7 @@
 # Kamailio basic configuration script
 #     by Anca Vamanu <[email protected]>
 #
-# Please refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php
+# Please refer to the Core CookBook at https://www.kamailio.org/wikidocs/cookbooks/devel/core/
 # for an explanation of possible statements, functions and parameters.
 #
 
@@ -127,7 +127,7 @@ modparam("uri_db", "db_url", "")
 modparam("acc", "early_media", 1)
 modparam("acc", "report_ack", 1)
 modparam("acc", "report_cancels", 1)
-/* by default ww do not adjust the direct of the sequential requests.
+/* by default we do not adjust the direct of the sequential requests.
    if you enable this parameter, be sure the enable "append_fromtag"
    in "rr" module */
 modparam("acc", "detect_direction", 0)
@@ -205,7 +205,7 @@ route{
 		# take the path determined by record-routing
 		if (loose_route()) {
 			if (is_method("BYE")) {
-				setflag(1); # do accouting ...
+				setflag(1); # do accounting ...
 				setflag(3); # ... even if the transaction fails
 			}
 			route(1);
@@ -265,7 +265,7 @@ route{
 
 	# account only INVITEs
 	if (is_method("INVITE")) {
-		setflag(1); # do accouting
+		setflag(1); # do accounting
 	}
 	if (!uri==myself)
 	/* replace with following line if multi-domain support is used */