[sr-dev] git:master: Fixed 11.sh test

Marius Zbihlei marius.zbihlei at 1and1.ro
Fri Oct 23 15:42:43 CEST 2009


Module: sip-router
Branch: master
Commit: c0df527b410149897f73720ddffb11d3b9325a98
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c0df527b410149897f73720ddffb11d3b9325a98

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date:   Fri Oct 23 16:36:36 2009 +0300

Fixed 11.sh test

---

 test/unit/11.cfg |    3 ++-
 test/unit/11.sh  |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/unit/11.cfg b/test/unit/11.cfg
index 70a9cfa..243a9a2 100644
--- a/test/unit/11.cfg
+++ b/test/unit/11.cfg
@@ -7,8 +7,8 @@ disable_tcp=yes
 
 # ------------------ module loading ----------------------------------
 loadpath "../../modules_k/"
-loadmodule "sl"
 loadmodule "../../modules/tm/tm.so"
+loadmodule "sl"
 loadmodule "rr"
 loadmodule "maxfwd"
 loadmodule "textops"
@@ -72,3 +72,4 @@ route[1] {
 	}
 	exit;
 }
+
diff --git a/test/unit/11.sh b/test/unit/11.sh
index 8902e5c..925b704 100755
--- a/test/unit/11.sh
+++ b/test/unit/11.sh
@@ -31,7 +31,7 @@ fi ;
 
 cp $CFG $CFG.bak
 
-echo "loadmodule \"$SR_DIR/modules/db_mysql/db_mysql.so\"" >> $CFG
+echo "loadmodule \"../../modules/db_mysql/db_mysql.so\"" >> $CFG
 
 $BIN -w . -f $CFG > /dev/null
 ret=$?




More information about the sr-dev mailing list