2
0
Эх сурвалжийг харах

- add missing module and compile checks on start
- remove obselete comment


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5251 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt 17 жил өмнө
parent
commit
7f6220127c
3 өөрчлөгдсөн 10 нэмэгдсэн , 1 устгасан
  1. 0 1
      test/unit/39.sh
  2. 5 0
      test/unit/40.sh
  3. 5 0
      test/unit/41.sh

+ 0 - 1
test/unit/39.sh

@@ -23,7 +23,6 @@ source include/common
 source include/require
 source include/database
 
-# TODO add check_unixodbc test
 if ! (check_sipp && check_kamailio && check_module "db_unixodbc" && check_unixodbc); then
 	exit 0
 fi ;

+ 5 - 0
test/unit/40.sh

@@ -22,6 +22,7 @@
 # Needs a default kamailio database setup for mysql
 
 source include/common
+source include/require
 source include/database
 
 CFG=40.cfg
@@ -29,6 +30,10 @@ SRV=5060
 UAS=5070
 UAC=5080
 
+if ! (check_sipp && check_kamailio && check_module "db_mysql" && check_mysql); then
+	exit 0
+fi ;
+
 # add an 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);"
 

+ 5 - 0
test/unit/41.sh

@@ -22,6 +22,7 @@
 # Needs a default kamailio database setup for mysql
 
 source include/common
+source include/require
 source include/database
 
 CFG=41.cfg
@@ -32,6 +33,10 @@ UAC=5080
 NR=200
 RT=50
 
+if ! (check_sipp && check_kamailio && check_module "db_mysql" && check_mysql); then
+	exit 0
+fi ;
+
 # add an 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);"