Module: sip-router
Branch: master
Commit: 41273f90b8d979c3a601961b44121270b27de5ef
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=41273f9…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Thu Oct 15 12:05:49 2009 +0300
Fix test 21.sh
Module path problems
---
test/unit/21.cfg | 4 ++--
test/unit/21.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/unit/21.cfg b/test/unit/21.cfg
index dae5a7c..9eba1d9 100644
--- a/test/unit/21.cfg
+++ b/test/unit/21.cfg
@@ -22,10 +22,10 @@ rev_dns=no
# ------------------ module loading ----------------------------------
#set module path
-mpath="../modules/"
+mpath="../../modules_k/"
# Uncomment this if you want to use SQL database
-loadmodule "db_mysql/db_mysql.so"
+loadmodule "../../modules/db_mysql/db_mysql.so"
loadmodule "sl/sl.so"
loadmodule "rr/rr.so"
diff --git a/test/unit/21.sh b/test/unit/21.sh
index 7c2d74c..4ee2fc5 100755
--- a/test/unit/21.sh
+++ b/test/unit/21.sh
@@ -33,7 +33,7 @@ CFG=21.cfg
# add an registrar entry to the db;
$MYSQL "INSERT INTO subscriber (username, domain, password, email_address) VALUES
(\"alice\",\"localhost\",\"alice\",\"alice@localhost\");"
-../$BIN -w . -f $CFG &> /dev/null;
+$BIN -w . -f $CFG &> /dev/null;
ret=$?
sleep 1