Przeglądaj źródła

Fix test 21.sh
Module path problems

Marius Zbihlei 16 lat temu
rodzic
commit
41273f90b8
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2 2
      test/unit/21.cfg
  2. 1 1
      test/unit/21.sh

+ 2 - 2
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"

+ 1 - 1
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