r45 - in regression_tests: common/ua tests tests/1001_SipHeaderAccept tests/1002_SipHeaderAcceptContact tests/1003_SipHeaderAuthorization tests/1004_SipHeaderCSeq tests/1005_SipHeaderCallID tests/1006_SipHeaderContact tests/1007_SipHeaderContentLength tests/1008_SipHeaderContentType tests/1009_SipHeaderEvent tests/1010_SipHeaderExpires tests/1011_SipHeaderFrom tests/1012_SipHeaderMaxForwards tests/1013_SipHeaderProxyAuthenticate tests/1014_SipHeaderProxyAuthorization tests/1015_SipHeaderRAck tests/1016_SipHeaderRSeq tests/1017_SipHeaderRecordRoute tests/1018_SipHeaderReferTo tests/1019_SipHeaderRequire tests/1020_SipHeaderRoute tests/1021_SipHeaderSubject tests/1022_SipHeaderSupported tests/1023_SipHeaderTo tests/1024_SipHeaderUnsupported tests/1025_SipHeaderUserAgent tests/1026_SipHeaderVia tests/1027_SipHeaderWWWAuthenticate tests/1028_SipHeaderWarning tests/2012_Session_inviteab_hangupab_packetloss

erik at minisip.org erik at minisip.org
Mon Nov 20 16:25:16 CET 2006


Author: erik
Date: 2006-11-20 16:25:13 +0100 (Mon, 20 Nov 2006)
New Revision: 45

Added:
   regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/
   regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/Makefile
   regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/expected_output/
   regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/test.sh
Modified:
   regression_tests/common/ua/Makefile
   regression_tests/tests/1001_SipHeaderAccept/Makefile
   regression_tests/tests/1002_SipHeaderAcceptContact/Makefile
   regression_tests/tests/1003_SipHeaderAuthorization/Makefile
   regression_tests/tests/1004_SipHeaderCSeq/Makefile
   regression_tests/tests/1005_SipHeaderCallID/Makefile
   regression_tests/tests/1006_SipHeaderContact/Makefile
   regression_tests/tests/1007_SipHeaderContentLength/Makefile
   regression_tests/tests/1008_SipHeaderContentType/Makefile
   regression_tests/tests/1009_SipHeaderEvent/Makefile
   regression_tests/tests/1010_SipHeaderExpires/Makefile
   regression_tests/tests/1011_SipHeaderFrom/Makefile
   regression_tests/tests/1012_SipHeaderMaxForwards/Makefile
   regression_tests/tests/1013_SipHeaderProxyAuthenticate/Makefile
   regression_tests/tests/1014_SipHeaderProxyAuthorization/Makefile
   regression_tests/tests/1015_SipHeaderRAck/Makefile
   regression_tests/tests/1016_SipHeaderRSeq/Makefile
   regression_tests/tests/1017_SipHeaderRecordRoute/Makefile
   regression_tests/tests/1018_SipHeaderReferTo/Makefile
   regression_tests/tests/1019_SipHeaderRequire/Makefile
   regression_tests/tests/1020_SipHeaderRoute/Makefile
   regression_tests/tests/1021_SipHeaderSubject/Makefile
   regression_tests/tests/1022_SipHeaderSupported/Makefile
   regression_tests/tests/1023_SipHeaderTo/Makefile
   regression_tests/tests/1024_SipHeaderUnsupported/Makefile
   regression_tests/tests/1025_SipHeaderUserAgent/Makefile
   regression_tests/tests/1026_SipHeaderVia/Makefile
   regression_tests/tests/1027_SipHeaderWWWAuthenticate/Makefile
   regression_tests/tests/1028_SipHeaderWarning/Makefile
Log:

 * Reverte previous "typo fix". Don't know what I was thinking.



Modified: regression_tests/common/ua/Makefile
===================================================================
--- regression_tests/common/ua/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/common/ua/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,5 +1,5 @@
 all: ua
 ua: ua.cxx
-	g++ -Wall -g -rdynamic -o ua -I$(CPP_FLAGS) -L$(LD_FLAGS) ua.cxx -lminisip -lmsip -lpthread -lssl
+	g++ -Wall -g -rdynamic -o ua $(CPP_FLAGS) $(LD_FLAGS) ua.cxx -lminisip -lmsip -lpthread -lssl
 clean:
 	rm -f ua

Modified: regression_tests/tests/1001_SipHeaderAccept/Makefile
===================================================================
--- regression_tests/tests/1001_SipHeaderAccept/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1001_SipHeaderAccept/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1002_SipHeaderAcceptContact/Makefile
===================================================================
--- regression_tests/tests/1002_SipHeaderAcceptContact/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1002_SipHeaderAcceptContact/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1003_SipHeaderAuthorization/Makefile
===================================================================
--- regression_tests/tests/1003_SipHeaderAuthorization/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1003_SipHeaderAuthorization/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1004_SipHeaderCSeq/Makefile
===================================================================
--- regression_tests/tests/1004_SipHeaderCSeq/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1004_SipHeaderCSeq/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1005_SipHeaderCallID/Makefile
===================================================================
--- regression_tests/tests/1005_SipHeaderCallID/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1005_SipHeaderCallID/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1006_SipHeaderContact/Makefile
===================================================================
--- regression_tests/tests/1006_SipHeaderContact/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1006_SipHeaderContact/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1007_SipHeaderContentLength/Makefile
===================================================================
--- regression_tests/tests/1007_SipHeaderContentLength/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1007_SipHeaderContentLength/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1008_SipHeaderContentType/Makefile
===================================================================
--- regression_tests/tests/1008_SipHeaderContentType/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1008_SipHeaderContentType/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1009_SipHeaderEvent/Makefile
===================================================================
--- regression_tests/tests/1009_SipHeaderEvent/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1009_SipHeaderEvent/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1010_SipHeaderExpires/Makefile
===================================================================
--- regression_tests/tests/1010_SipHeaderExpires/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1010_SipHeaderExpires/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1011_SipHeaderFrom/Makefile
===================================================================
--- regression_tests/tests/1011_SipHeaderFrom/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1011_SipHeaderFrom/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1012_SipHeaderMaxForwards/Makefile
===================================================================
--- regression_tests/tests/1012_SipHeaderMaxForwards/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1012_SipHeaderMaxForwards/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1013_SipHeaderProxyAuthenticate/Makefile
===================================================================
--- regression_tests/tests/1013_SipHeaderProxyAuthenticate/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1013_SipHeaderProxyAuthenticate/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1014_SipHeaderProxyAuthorization/Makefile
===================================================================
--- regression_tests/tests/1014_SipHeaderProxyAuthorization/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1014_SipHeaderProxyAuthorization/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1015_SipHeaderRAck/Makefile
===================================================================
--- regression_tests/tests/1015_SipHeaderRAck/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1015_SipHeaderRAck/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1016_SipHeaderRSeq/Makefile
===================================================================
--- regression_tests/tests/1016_SipHeaderRSeq/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1016_SipHeaderRSeq/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1017_SipHeaderRecordRoute/Makefile
===================================================================
--- regression_tests/tests/1017_SipHeaderRecordRoute/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1017_SipHeaderRecordRoute/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1018_SipHeaderReferTo/Makefile
===================================================================
--- regression_tests/tests/1018_SipHeaderReferTo/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1018_SipHeaderReferTo/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1019_SipHeaderRequire/Makefile
===================================================================
--- regression_tests/tests/1019_SipHeaderRequire/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1019_SipHeaderRequire/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1020_SipHeaderRoute/Makefile
===================================================================
--- regression_tests/tests/1020_SipHeaderRoute/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1020_SipHeaderRoute/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1021_SipHeaderSubject/Makefile
===================================================================
--- regression_tests/tests/1021_SipHeaderSubject/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1021_SipHeaderSubject/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1022_SipHeaderSupported/Makefile
===================================================================
--- regression_tests/tests/1022_SipHeaderSupported/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1022_SipHeaderSupported/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1023_SipHeaderTo/Makefile
===================================================================
--- regression_tests/tests/1023_SipHeaderTo/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1023_SipHeaderTo/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1024_SipHeaderUnsupported/Makefile
===================================================================
--- regression_tests/tests/1024_SipHeaderUnsupported/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1024_SipHeaderUnsupported/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1025_SipHeaderUserAgent/Makefile
===================================================================
--- regression_tests/tests/1025_SipHeaderUserAgent/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1025_SipHeaderUserAgent/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1026_SipHeaderVia/Makefile
===================================================================
--- regression_tests/tests/1026_SipHeaderVia/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1026_SipHeaderVia/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1027_SipHeaderWWWAuthenticate/Makefile
===================================================================
--- regression_tests/tests/1027_SipHeaderWWWAuthenticate/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1027_SipHeaderWWWAuthenticate/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Modified: regression_tests/tests/1028_SipHeaderWarning/Makefile
===================================================================
--- regression_tests/tests/1028_SipHeaderWarning/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/1028_SipHeaderWarning/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -1,4 +1,4 @@
 tst: tst.cxx
-	g++ -Wall -g -o tst -I$(CPP_FLAGS) -L$(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
+	g++ -Wall -g -o tst $(CPP_FLAGS) $(LD_FLAGS) tst.cxx -lmsip -lpthread -lssl
 clean:
 	rm -f build_output diff_output test_output tst

Added: regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/Makefile
===================================================================
--- regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/Makefile	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/Makefile	2006-11-20 15:25:13 UTC (rev 45)
@@ -0,0 +1,4 @@
+all:
+	cd ../../common/ua && make -f Makefile
+clean:
+	rm -f test_output build_output diff_output

Added: regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/test.sh
===================================================================
--- regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/test.sh	2006-11-20 13:48:22 UTC (rev 44)
+++ regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/test.sh	2006-11-20 15:25:13 UTC (rev 45)
@@ -0,0 +1,294 @@
+#!/bin/bash
+
+# drop vectors and sleep time.
+# time to run test is estimated to 5+2^n where n is largest number of sequential drops
+packetdrop=(
+11111111 6
+01111111 7
+10111111 7
+00111111 9
+11011111 7
+01011111 7
+10011111 9
+00011111 13
+11101111 7
+01101111 7
+10101111 7
+00101111 9
+11001111 9
+01001111 9
+10001111 13
+00001111 21
+11110111 7
+01110111 7
+10110111 7
+00110111 9
+11010111 7
+01010111 7
+10010111 9
+00010111 13
+11100111 9
+01100111 9
+10100111 9
+00100111 9
+11000111 13
+01000111 13
+10000111 21
+00000111 37
+11111011 7
+01111011 7
+10111011 7
+00111011 9
+11011011 7
+01011011 7
+10011011 9
+00011011 13
+11101011 7
+01101011 7
+10101011 7
+00101011 9
+11001011 9
+01001011 9
+10001011 13
+00001011 21
+11110011 9
+01110011 9
+10110011 9
+00110011 9
+11010011 9
+01010011 9
+10010011 9
+00010011 13
+11100011 13
+01100011 13
+10100011 13
+00100011 13
+11000011 21
+01000011 21
+10000011 37
+00000011 65
+11111101 7
+01111101 7
+10111101 7
+00111101 9
+11011101 7
+01011101 7
+10011101 9
+00011101 13
+11101101 7
+01101101 7
+10101101 7
+00101101 9
+11001101 9
+01001101 9
+10001101 13
+00001101 21
+11110101 7
+01110101 7
+10110101 7
+00110101 9
+11010101 7
+01010101 7
+10010101 9
+00010101 13
+11100101 9
+01100101 9
+10100101 9
+00100101 9
+11000101 13
+01000101 13
+10000101 21
+00000101 37
+11111001 9
+01111001 9
+10111001 9
+00111001 9
+11011001 9
+01011001 9
+10011001 9
+00011001 13
+11101001 9
+01101001 9
+10101001 9
+00101001 9
+11001001 9
+01001001 9
+10001001 13
+00001001 21
+11110001 13
+01110001 13
+10110001 13
+00110001 13
+11010001 13
+01010001 13
+10010001 13
+00010001 13
+11100001 21
+01100001 21
+10100001 21
+00100001 21
+11000001 37
+01000001 37
+10000001 65
+00000001 65
+11111110 7
+01111110 7
+10111110 7
+00111110 9
+11011110 7
+01011110 7
+10011110 9
+00011110 13
+11101110 7
+01101110 7
+10101110 7
+00101110 9
+11001110 9
+01001110 9
+10001110 13
+00001110 21
+11110110 7
+01110110 7
+10110110 7
+00110110 9
+11010110 7
+01010110 7
+10010110 9
+00010110 13
+11100110 9
+01100110 9
+10100110 9
+00100110 9
+11000110 13
+01000110 13
+10000110 21
+00000110 37
+11111010 7
+01111010 7
+10111010 7
+00111010 9
+11011010 7
+01011010 7
+10011010 9
+00011010 13
+11101010 7
+01101010 7
+10101010 7
+00101010 9
+11001010 9
+01001010 9
+10001010 13
+00001010 21
+11110010 9
+01110010 9
+10110010 9
+00110010 9
+11010010 9
+01010010 9
+10010010 9
+00010010 13
+11100010 13
+01100010 13
+10100010 13
+00100010 13
+11000010 21
+01000010 21
+10000010 37
+00000010 65
+11111100 9
+01111100 9
+10111100 9
+00111100 9
+11011100 9
+01011100 9
+10011100 9
+00011100 13
+11101100 9
+01101100 9
+10101100 9
+00101100 9
+11001100 9
+01001100 9
+10001100 13
+00001100 21
+11110100 9
+01110100 9
+10110100 9
+00110100 9
+11010100 9
+01010100 9
+10010100 9
+00010100 13
+11100100 9
+01100100 9
+10100100 9
+00100100 9
+11000100 13
+01000100 13
+10000100 21
+00000100 37
+11111000 13
+01111000 13
+10111000 13
+00111000 13
+11011000 13
+01011000 13
+10011000 13
+00011000 13
+11101000 13
+01101000 13
+10101000 13
+00101000 13
+11001000 13
+01001000 13
+10001000 13
+00001000 21
+11110000 21
+01110000 21
+10110000 21
+00110000 21
+11010000 21
+01010000 21
+10010000 21
+00010000 21
+11100000 37
+01100000 37
+10100000 37
+00100000 37
+11000000 65
+01000000 65
+10000000 65
+00000000 65
+)
+
+make > build_output 2>&1  || exit 2
+
+let index=0;
+
+for i in `seq 0 255` ; do 
+	let index=$index+1
+	echo Test $index >> test_output
+	echo Info: test $index
+	let vi=$i*2
+	let si=$i*2+1
+	drop=${packetdrop[$vi]}
+	to=${packetdrop[$si]}
+	echo Info: drop and timeout: $drop $to
+	echo -e "sleep 150"  | ../../common/ua/ua -p 40010 -u serveruser at domain.com > /dev/null 2>&1 &
+	echo -e "sleep 1\ncall serveruser at localhost:40010\nsleep $to\nhangup\nsleep 5"  | ../../common/ua/ua -p 40020 -u clientuser at domain.coma -d $drop >> test_output || exit 3 ;
+done
+
+
+# make output predictable - i.e. remove callid and branch strings (pseudo-random)
+sed -i "s/Call-ID:.*$/Call-ID: callidstring/" test_output
+sed -i "s/branch=.*$/branch=branchstring/" test_output
+sed -i "s/[0-9][0-9][0-9].[0-9][0-9][0-9].//" test_output    #remove timestamp at start of lines
+
+if [ -e expected_output/expected_output ] ; then
+        diff test_output expected_output/expected_output > diff_output ;
+else
+	echo "EXPECTED VALUE OR TEST OUTPUT NOT FOUND!" > diff_output ;
+fi
+
+exit 0
+


Property changes on: regression_tests/tests/2012_Session_inviteab_hangupab_packetloss/test.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the Minisip-devel mailing list