[asterisk-commits] russell: branch group/http_mods r60319 - in /team/group/http_mods/main/minimi...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Apr 5 12:08:21 MST 2007


Author: russell
Date: Thu Apr  5 14:08:21 2007
New Revision: 60319

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60319
Log:
Update test to show a problem that occurs sometimes with large files

Added:
    team/group/http_mods/main/minimime/mytest_files/ast_postdata3.gz   (with props)
Modified:
    team/group/http_mods/main/minimime/Makefile
    team/group/http_mods/main/minimime/mytest_files/mytest.c

Modified: team/group/http_mods/main/minimime/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/http_mods/main/minimime/Makefile?view=diff&rev=60319&r1=60318&r2=60319
==============================================================================
--- team/group/http_mods/main/minimime/Makefile (original)
+++ team/group/http_mods/main/minimime/Makefile Thu Apr  5 14:08:21 2007
@@ -69,6 +69,7 @@
 
 mytest: all mytest_files/mytest.o
 	$(CC) $(LDFLAGS) -o $@ mytest_files/mytest.o $(ARNAME)
+	if [ ! -f mytest_files/ast_postdata3 ] ; then cd mytest_files && gunzip ast_postdata3.gz ; fi
 
 depend: 
 	mkdep $(CFLAGS) $(SRCS)

Added: team/group/http_mods/main/minimime/mytest_files/ast_postdata3.gz
URL: http://svn.digium.com/view/asterisk/team/group/http_mods/main/minimime/mytest_files/ast_postdata3.gz?view=auto&rev=60319
==============================================================================
Binary file - no diff available.

Propchange: team/group/http_mods/main/minimime/mytest_files/ast_postdata3.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: team/group/http_mods/main/minimime/mytest_files/mytest.c
URL: http://svn.digium.com/view/asterisk/team/group/http_mods/main/minimime/mytest_files/mytest.c?view=diff&rev=60319&r1=60318&r2=60319
==============================================================================
--- team/group/http_mods/main/minimime/mytest_files/mytest.c (original)
+++ team/group/http_mods/main/minimime/mytest_files/mytest.c Thu Apr  5 14:08:21 2007
@@ -5,7 +5,7 @@
 
 int main(int argc, char *argv[])
 {
-	const char *filename = "mytest_files/ast_postdata2";
+	const char *filename = "mytest_files/ast_postdata3";
 	MM_CTX *ctx;
 	struct mm_mimepart *part;
 	struct mm_content *cont;



More information about the asterisk-commits mailing list