Browse Source

Fixed loading of tm module in test
Fixed variable name ($fU instead of $fu)
Test now runs ok

Marius Zbihlei 16 years ago
parent
commit
9e9f4383d1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/unit/12.cfg

+ 2 - 2
test/unit/12.cfg

@@ -2,8 +2,8 @@ log_stderror=yes
 listen=127.0.0.1
 loadpath "../../modules_k/"
 loadmodule "../../modules/db_mysql/db_mysql.so"
-loadmodule "sl"
 loadmodule "../../modules/tm/tm.so"
+loadmodule "sl"
 loadmodule "rr"
 loadmodule "maxfwd"
 loadmodule "textops"
@@ -94,7 +94,7 @@ route[39] {
 		$avp(i:82)=$(pu{uri.domain});
 		$avp(i:83)=$pu;
 		xlog("L_ERR", "Getting identity from P-Preferred-Identity header\n");
-	} else if ($fu) {
+	} else if ($fU) {
 		$avp(i:81)=$(fu{uri.user});
 		$avp(i:82)=$(fu{uri.domain});
 		$avp(i:83)=$fu;