Quellcode durchsuchen

test/: typos a/an

Дилян Палаузов vor 2 Jahren
Ursprung
Commit
e24de68680
13 geänderte Dateien mit 14 neuen und 14 gelöschten Zeilen
  1. 2 2
      test/unit/12.cfg
  2. 1 1
      test/unit/12.sh
  3. 1 1
      test/unit/19.sh
  4. 1 1
      test/unit/20.sh
  5. 1 1
      test/unit/21.cfg
  6. 1 1
      test/unit/21.sh
  7. 1 1
      test/unit/25.sh
  8. 1 1
      test/unit/35.sh
  9. 1 1
      test/unit/40.sh
  10. 1 1
      test/unit/41.sh
  11. 1 1
      test/unit/45.sh
  12. 1 1
      test/unit/46.sh
  13. 1 1
      test/unit/5.cfg

+ 2 - 2
test/unit/12.cfg

@@ -44,7 +44,7 @@ request_route {
 		if(is_present_hf("Expires")) {
 			xlog("Expires header field present\n");
 			if($(hdr(Expires){s.int}) > 0) {
-				xlog("this is an registration\n");
+				xlog("this is a registration\n");
 			}
 			if($(hdr(Expires){s.int}) == 0) {
 				xlog("this is an unregistration\n");
@@ -53,7 +53,7 @@ request_route {
 		if(is_present_hf("Contact")) {
 			xlog("Contact header field present\n");
 			if ($(hdr(Contact){param.value,expires}{s.int}) > 0) {
-				xlog("this is an registration\n");
+				xlog("this is a registration\n");
 			}
 			if ($(ct{param.value,expires}{s.int}) == 0) {
 				xlog("this is an unregistration\n");

+ 1 - 1
test/unit/12.sh

@@ -75,7 +75,7 @@ if [ "$ret" -eq 0 ] ; then
 					grep "Contact header field present" $TMPFILE > /dev/null
 					ret=$?
 					if [ "$ret" -eq 0 ] ; then
-						grep "this is an registration" $TMPFILE > /dev/null
+						grep "this is a registration" $TMPFILE > /dev/null
 						ret=$?
 						if [ "$ret" -eq 0 ] ; then
 							grep "this is an unregistration" $TMPFILE > /dev/null

+ 1 - 1
test/unit/19.sh

@@ -33,7 +33,7 @@ UAS=5070
 UAC=5080
 
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "DELETE FROM location WHERE ruid=\"kamailio-unit-uid\""
 $MYSQL "INSERT INTO location (ruid,username,contact,socket,user_agent,cseq,q) VALUES (\"kamailio-unit-uid\", \"foo\",\"sip:foo@localhost:$UAS\",\"udp:127.0.0.1:$UAS\",\"kamailio_test\",1,-1);"
 

+ 1 - 1
test/unit/20.sh

@@ -30,7 +30,7 @@ fi ;
 CFG="20.cfg"
 TMPFILE=`mktemp -t kamailio-test.XXXXXXXXXX`
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "INSERT INTO location (ruid, username,contact,socket,user_agent,cseq,q) VALUES (\"kamailio-test-uid\",\"foo\",\"sip:[email protected]\",\"udp:127.0.0.1:5060\",\"kamailio_test\",1,-1);"
 
 sipp -sn uas -bg -i 127.0.0.1 -m 1 -f 10 -p 5060 > /dev/null 2>&1

+ 1 - 1
test/unit/21.cfg

@@ -1,7 +1,7 @@
 #
 # simple quick-start config script
 # Please refer to the Core CookBook at http://www.kamailio.org/wiki/
-# for a explanation of possible statements, functions and parameters.
+# for an explanation of possible statements, functions and parameters.
 #
 
 # ----------- global configuration parameters ------------------------

+ 1 - 1
test/unit/21.sh

@@ -30,7 +30,7 @@ fi ;
 
 CFG=21.cfg
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "INSERT INTO subscriber (username, domain, password) VALUES (\"alice\",\"localhost\",\"alice\");"
 
 $BIN -L $MOD_DIR -Y $RUN_DIR -P $PIDFILE -w . -f $CFG -E -e -dd > /dev/null 2>&1

+ 1 - 1
test/unit/25.sh

@@ -46,7 +46,7 @@ fi ;
 
 CFG=25.cfg
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "insert into location (ruid,username,contact,socket,user_agent,cseq,q) values (\"ul-ruid-aa\",\"49721123456789\",\"sip:[email protected]\",\"udp:127.0.0.1:5060\",\"kamailio_test\",1,-1);"
 
 $MYSQL "insert into location (ruid,username,contact,socket,user_agent,cseq,q) values (\"ul-ruid-bb\",\"49721123456788\",\"sip:[email protected]\",\"udp:127.0.0.1:5060\",\"kamailio_test\",1,-1);"

+ 1 - 1
test/unit/35.sh

@@ -34,7 +34,7 @@ UAC=5080
 IP="127.0.0.31"
 MASK=27
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:foo@localhost:$UAS\",\"udp:127.0.0.1:$UAS\",\"ser_test\",1,-1);"
 $MYSQL "INSERT INTO trusted (src_ip, proto) VALUES (\"127.0.0.1\",\"any\");"
 

+ 1 - 1
test/unit/40.sh

@@ -34,7 +34,7 @@ if ! (check_sipp && check_kamailio && check_module "db_mysql" && check_mysql); t
 	exit 0
 fi ;
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:[email protected]:$UAS\",\"udp:127.0.0.1:$UAS\",\"ser_test\",1,-1);"
 
 # start

+ 1 - 1
test/unit/41.sh

@@ -37,7 +37,7 @@ if ! (check_sipp && check_kamailio && check_module "db_mysql" && check_mysql); t
 	exit 0
 fi ;
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:[email protected]:$UAS\",\"udp:127.0.0.1:$UAS\",\"ser_test\",1,-1);"
 
 $MYSQL "INSERT INTO usr_preferences (uuid, attribute, type, value) VALUES (\"foobar\", \"679\", 0, \"foobar!!!!!\");"

+ 1 - 1
test/unit/45.sh

@@ -33,7 +33,7 @@ UAS=5070
 UAC=5080
 
 
-# add an registrar entry to the db;
+# add a registrar entry to the db;
 $MYSQL "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:[email protected]:$UAS\",\"udp:127.0.0.1:$UAS\",\"ser_test\",1,-1);"
 
 $BIN -L $MOD_DIR -Y $RUN_DIR -P $PIDFILE -w . -f $CFG &> /dev/null

+ 1 - 1
test/unit/46.sh

@@ -64,7 +64,7 @@ test_module_int()
 	return $ret
 }
 
-# add an registrar entry to the db
+# add a registrar entry to the db
 cp $CFG ${CFG}.bak
 
 echo "loadmodule \"db_mysql/db_mysql.so\"" >>$CFG

+ 1 - 1
test/unit/5.cfg

@@ -5,7 +5,7 @@
 #     by Anca Vamanu <[email protected]>
 #
 # Please refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php
-# for a explanation of possible statements, functions and parameters.
+# for an explanation of possible statements, functions and parameters.
 #